github.com/hugorut/terraform@v1.1.3/src/backend/remote/remote_test.go (about) 1 package remote 2 3 import ( 4 "flag" 5 "os" 6 "testing" 7 "time" 8 9 _ "github.com/hugorut/terraform/src/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 }