Skip to content

Commit c4c48bc

Browse files
committed
beef up message
1 parent 079f362 commit c4c48bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/verifier/migration_verifier_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ func TestVerifierCompareDocs(t *testing.T) {
572572
{{"_id", id}, {"sharded", 123}},
573573
},
574574
compareFn: func(t *testing.T, mismatchedIds []VerificationResult) {
575-
assert.Empty(t, mismatchedIds)
575+
assert.Empty(t, mismatchedIds, "should be no problems")
576576
},
577577
},
578578
}
@@ -1439,7 +1439,7 @@ func (suite *IntegrationTestSuite) TestVerifierWithFilter() {
14391439
status := waitForTasks()
14401440
suite.Require().Greater(status.CompletedTasks, 1)
14411441
suite.Require().Greater(status.TotalTasks, 1)
1442-
suite.Require().Equal(status.FailedTasks, 0)
1442+
suite.Require().Zero(status.FailedTasks, "there should be no failed tasks")
14431443

14441444
// Insert another document that is not in the filter.
14451445
// This should trigger a recheck despite being outside the filter.

0 commit comments

Comments
 (0)