From 67fd4560dd4a6734efcc4114d004ee01f468b1b6 Mon Sep 17 00:00:00 2001 From: Benji Rewis Date: Wed, 9 Oct 2024 13:41:53 -0400 Subject: [PATCH] skip tests --- testutils/env.go | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/testutils/env.go b/testutils/env.go index a8500c0a..7e5a300e 100644 --- a/testutils/env.go +++ b/testutils/env.go @@ -74,12 +74,18 @@ func ArtifactGoogleCreds(tb testing.TB) string { } func backingMongoDBURI() (string, error) { - mongoURI, ok := os.LookupEnv("TEST_MONGODB_URI") - if !ok || mongoURI == "" { - return "", errors.New("no MongoDB URI found") - } - setupMongoDBForTests() - return mongoURI, nil + // TODO(RSDK-8952): Re-enable tests that interact with MDB once + // we resurrect the downed MBD instance or create a new one. + return "", errors.New("skipping MongoDB related test for now; see RSDK-8952") + + /* + mongoURI, ok := os.LookupEnv("TEST_MONGODB_URI") + if !ok || mongoURI == "" { + return "", errors.New("no MongoDB URI found") + } + setupMongoDBForTests() + return mongoURI, nil + */ } // SkipUnlessBackingMongoDBURI verifies there is a backing MongoDB URI to use.