Skip to content

Commit 4af3de4

Browse files
committed
set upgrade to false while terraform init because we're running tests in parallel, upgrade would try to remove the plugin while it's being used by other test
1 parent 7ea4a3f commit 4af3de4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

e2etest.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func initAndApply(t terratest.TestingT, options *terraform.Options) string {
9696
}
9797

9898
func tfInit(t terratest.TestingT, options *terraform.Options) {
99+
options.Upgrade = false
99100
initLock.Lock()
100101
logger.Default.Logf(t, fmt.Sprintf("init lock acuired by %s", options.TerraformDir))
101102
defer func() {

0 commit comments

Comments
 (0)