Skip to content

Commit

Permalink
fix test on sharded clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
FGasper committed Dec 11, 2024
1 parent 1552dbc commit 46aa6d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/verifier/change_stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ func (suite *IntegrationTestSuite) TestChangeStreamLag() {
_, err := db.Collection("mycoll").InsertOne(ctx, bson.D{})
suite.Require().NoError(err)

// On sharded clusters sometimes the event hasn’t shown yet.
suite.Require().Eventually(
func() bool {
suite.Require().NoError(
Expand Down

0 comments on commit 46aa6d8

Please sign in to comment.