We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1431ef2 commit 1c770d0Copy full SHA for 1c770d0
test/e2e/e2e_helper.go
@@ -1,6 +1,7 @@
1
package e2e
2
3
import (
4
+ "context"
5
"os/exec"
6
"testing"
7
@@ -11,7 +12,7 @@ import (
11
12
13
func RunTF(args ...string) (string, error) {
14
args = append([]string{"tf"}, args...)
- cmd := exec.Command("atlas", args...)
15
+ cmd := exec.CommandContext(context.Background(), "atlas", args...)
16
resp, err := cmd.CombinedOutput()
17
return string(resp), err
18
}
0 commit comments