Update prov test code
This commit is contained in:
parent
388997cd1c
commit
eac5526a28
|
@ -463,10 +463,7 @@ of this code you wrote. Your test should be like:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
func TestShellProvisioner(t *testing.T) {
|
func TestShellProvisioner(t *testing.T) {
|
||||||
p := os.Getenv("ACC_TEST_PROVISIONERS")
|
acc.TestProvisionersPreCheck("shell", t)
|
||||||
if p != "all" && !strings.Contains(p, "shell") {
|
|
||||||
t.Skip()
|
|
||||||
}
|
|
||||||
acc.TestProvisionersAgainstBuilders(new(ShellProvisionerAccTest), t)
|
acc.TestProvisionersAgainstBuilders(new(ShellProvisionerAccTest), t)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue