github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/cloud/remote_test.go (about) 1 package cloud 2 3 import ( 4 "flag" 5 "os" 6 "testing" 7 "time" 8 9 _ "github.com/hashicorp/terraform/internal/logging" 10 ) 11 12 func TestMain(m *testing.M) { 13 flag.Parse() 14 15 // Make sure TF_FORCE_LOCAL_BACKEND is unset 16 os.Unsetenv("TF_FORCE_LOCAL_BACKEND") 17 18 // Reduce delays to make tests run faster 19 backoffMin = 1.0 20 backoffMax = 1.0 21 planConfigurationVersionsPollInterval = 1 * time.Millisecond 22 runPollInterval = 1 * time.Millisecond 23 24 os.Exit(m.Run()) 25 }