Skip to content

Commit

Permalink
RSDK-8952 Stop skipping MDB tests (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjirewis authored Oct 14, 2024
1 parent 115c1d7 commit 4ad242a
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions testutils/mongodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,12 @@ func backingMongoDBClientWithOptions(baseOptions *options.ClientOptions) (*mongo
// BackingMongoDBClient returns a backing MongoDB client to use.
func BackingMongoDBClient(tb testing.TB) *mongo.Client {
tb.Helper()
// TODO(RSDK-8952): Re-enable tests that interact with MDB once
// we resurrect the downed MBD instance or create a new one.
tb.Skip("skipping MongoDB related test for now; see RSDK-8952")
return nil
/*
client, err := backingMongoDBClient()
if err != nil {
skipWithError(tb, err)
return nil
}
return client
*/
client, err := backingMongoDBClient()
if err != nil {
skipWithError(tb, err)
return nil
}
return client
}

// BackingMongoDBClientWithOptions returns a backing MongoDB client to use with the provided options.
Expand Down

0 comments on commit 4ad242a

Please sign in to comment.