-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topology test fixes #7284
Topology test fixes #7284
Conversation
…her current mutation already represented in HLV when importing on the target
@@ -1242,7 +1242,7 @@ func (db *DatabaseCollectionWithUser) PutExistingCurrentVersion(ctx context.Cont | |||
} | |||
} else { | |||
if doc.HLV.isDominating(newDocHLV) { | |||
base.DebugfCtx(ctx, base.KeyCRUD, "PutExistingCurrentVersion(%q): No new versions to add", base.UD(newDoc.ID)) | |||
base.DebugfCtx(ctx, base.KeyCRUD, "PutExistingCurrentVersion(%q): No new versions to add. existing: %#v new:%#v", base.UD(newDoc.ID), doc.HLV, newDocHLV) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should possibly be KeyVV to match above
|
||
// wait for push replication to stop running | ||
require.EventuallyWithT(btc.TB(), func(c *assert.CollectT) { | ||
require.True(c, btc.pushRunning.IsTrue() == false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
require.True(c, btc.pushRunning.IsTrue() == false) | |
assert.False(c, btc.pushRunning.IsTrue()) |
the way that assertion is written will actually fail immediately if btc.pushRunning.IsTrue() == true
and it won't do a backoff.
Test logging enhancements:
Flaky test fixes: