Skip to content

Commit

Permalink
Update automated_testing.md with new go version
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaentz authored Jun 30, 2023
1 parent 07876a8 commit 94cc9fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automated_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ output "public_dns" {
Install Go on your training workstation

```bash
wget -c https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local
wget -c https://dl.google.com/go/go1.18.1.linux-amd64.tar.gz -O - | tar -xz -C /usr/local
export PATH=$PATH:/usr/local/go/bin
```

Expand Down Expand Up @@ -439,4 +439,4 @@ The final step of our test is to undeploy everything at the end. Terratest allow
defer terraform.Destroy(t, terraformOptions)
```

In Go, defer is a statement that will tell your test to run this command last no matter what. Even if the test fails, or errors out somewhere in the code during runtime, this `terraform.Destroy` line will always run to ensure your test infrastructure doesn't become unmanaged by Terraform and difficult to find.
In Go, defer is a statement that will tell your test to run this command last no matter what. Even if the test fails, or errors out somewhere in the code during runtime, this `terraform.Destroy` line will always run to ensure your test infrastructure doesn't become unmanaged by Terraform and difficult to find.

0 comments on commit 94cc9fc

Please sign in to comment.