From 6ab7d0ca01f1fee24466c2d3d57a7cd73d9e545f Mon Sep 17 00:00:00 2001 From: Samsondeen <40821565+dsa0x@users.noreply.github.com> Date: Wed, 9 Jul 2025 15:29:44 +0200 Subject: [PATCH 1/2] Revert "Skip query e2e test when we cannot build at runtime (#37307)" This reverts commit 0f7a690d255c71f2213595d61c35fc2ae3422b30. --- internal/command/e2etest/terraform_query_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/internal/command/e2etest/terraform_query_test.go b/internal/command/e2etest/terraform_query_test.go index 77746822a254..400430613121 100644 --- a/internal/command/e2etest/terraform_query_test.go +++ b/internal/command/e2etest/terraform_query_test.go @@ -25,15 +25,6 @@ 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 { From a398d77099ce665744e46391e46bd38b0e9863d8 Mon Sep 17 00:00:00 2001 From: Samsondeen <40821565+dsa0x@users.noreply.github.com> Date: Wed, 9 Jul 2025 15:40:34 +0200 Subject: [PATCH 2/2] Update terraform_query_test.go --- internal/command/e2etest/terraform_query_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/command/e2etest/terraform_query_test.go b/internal/command/e2etest/terraform_query_test.go index 400430613121..496d30634788 100644 --- a/internal/command/e2etest/terraform_query_test.go +++ b/internal/command/e2etest/terraform_query_test.go @@ -27,6 +27,8 @@ import ( func TestUnmanagedQuery(t *testing.T) { t.Parallel() + t.Logf("Running TestUnmanagedQuery test") + tests := []struct { name string protocolVersion int