Skip to content

Commit

Permalink
set upgrade to false while terraform init because we're running tests…
Browse files Browse the repository at this point in the history
… in parallel, upgrade would try to remove the plugin while it's being used by other test
  • Loading branch information
lonegunmanb committed Mar 16, 2023
1 parent 7ea4a3f commit 4af3de4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2etest.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func initAndApply(t terratest.TestingT, options *terraform.Options) string {
}

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

0 comments on commit 4af3de4

Please sign in to comment.