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 1f4600a commit fb4a781Copy full SHA for fb4a781
rancher2/0_provider_upgrade_test.go
@@ -432,6 +432,9 @@ func testAccRancher2UpgradeVars() resource.TestCheckFunc {
432
continue
433
}
434
token := rs.Primary.Attributes["token"]
435
+ // This get-envs and this getEnvs and prints were added to debugg a flaky test that was happening resulting on
436
+ // dangling resources. After they were added the flaky test didn't happen anymore. I believe that the syscall
437
+ // is fixing a race condition that was generating the flaky test
438
rancherTokenKey := os.Getenv("RANCHER_TOKEN_KEY")
439
rancherAdminPass := os.Getenv("RANCHER_ADMIN_PASS")
440
if err := os.Setenv("RANCHER_TOKEN_KEY", token); err != nil {
0 commit comments