diff --git a/internal/command/e2etest/terraform_query_test.go b/internal/command/e2etest/terraform_query_test.go index 400430613121..77746822a254 100644 --- a/internal/command/e2etest/terraform_query_test.go +++ b/internal/command/e2etest/terraform_query_test.go @@ -25,6 +25,15 @@ import ( ) func TestUnmanagedQuery(t *testing.T) { + if !canRunGoBuild { + // We're running in a separate-build-then-run context, so we can't + // currently execute this test which depends on being able to build + // new executable at runtime. + // + // (See the comment on canRunGoBuild's declaration for more information.) + t.Skip("can't run without building a new provider executable") + } + t.Parallel() tests := []struct {