From 73c9521a04a7c59eb6d91391acab5524d66f3652 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Fri, 16 Nov 2018 18:36:11 -0800 Subject: [PATCH] command/e2etest: Temporarily disable tests that access network Several of these tests rely on external services (e.g. Terraform Registry) that have not yet been updated to support the needs of Terraform v0.12.0, so for now we'll skip all of these tests and wait until those systems have been updated. This should be removed before Terraform v0.12.0 final to enable these tests to be used as part of pre-release smoke testing. --- command/e2etest/main_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/command/e2etest/main_test.go b/command/e2etest/main_test.go index 64dc8f148..a053e501e 100644 --- a/command/e2etest/main_test.go +++ b/command/e2etest/main_test.go @@ -56,4 +56,10 @@ func skipIfCannotAccessNetwork(t *testing.T) { if !canAccessNetwork() { t.Skip("network access not allowed; use TF_ACC=1 to enable") } + + // During the early part of the Terraform v0.12 release process, certain + // upstream resources are not yet ready to support it and so these + // tests cannot be run. These will be re-enabled prior to Terraform v0.12.0 + // final. + t.Skip("all tests with external network access are temporarily disabled until upstream services are updated") }