diff --git a/rest/replicatortest/replicator_test.go b/rest/replicatortest/replicator_test.go index 2becb51c47..6fa3c65599 100644 --- a/rest/replicatortest/replicator_test.go +++ b/rest/replicatortest/replicator_test.go @@ -8323,6 +8323,8 @@ func TestReplicatorUpdateHLVOnPut(t *testing.T) { // Grab the bucket UUIDs for both rest testers activeBucketUUID, err := activeRT.GetDatabase().Bucket.UUID() require.NoError(t, err) + passiveBucketUUID, err := passiveRT.GetDatabase().Bucket.UUID() + require.NoError(t, err) const rep = "replication" @@ -8349,6 +8351,7 @@ func TestReplicatorUpdateHLVOnPut(t *testing.T) { assert.NoError(t, err) uintCAS = base.HexCasToUint64(syncData.Cas) - // TODO: assert that the SourceID and Version pair are preserved correctly pending CBG-3211 + assert.Equal(t, passiveBucketUUID, syncData.HLV.SourceID) assert.Equal(t, uintCAS, syncData.HLV.CurrentVersionCAS) + assert.Equal(t, uintCAS, syncData.HLV.Version) }