Skip to content

Commit 6c85a05

Browse files
committed
Skip E2E test for PSS unless experiments enabled
1 parent 4508ff3 commit 6c85a05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/command/e2etest/primary_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ func TestPrimaryChdirOption(t *testing.T) {
235235

236236
// Requires TF_TEST_EXPERIMENT to be set in the environment
237237
func TestPrimary_stateStore(t *testing.T) {
238+
if v := os.Getenv("TF_TEST_EXPERIMENT"); v == "" {
239+
t.Skip("can't run without enabling experiments in the executable terraform binary, enable with TF_TEST_EXPERIMENT=1")
240+
}
241+
238242
if !canRunGoBuild {
239243
// We're running in a separate-build-then-run context, so we can't
240244
// currently execute this test which depends on being able to build

0 commit comments

Comments
 (0)