From 8350f487660aea08a92f9cdc10672b977a095fe4 Mon Sep 17 00:00:00 2001 From: Ben Brooks Date: Fri, 19 Jan 2024 16:20:19 +0000 Subject: [PATCH] beryllium: fix misspell typos (#6648) * `teh` -> `the` * Remove typo'd TODO by implementing assertion * `comapre` -> `compare` * `exsiting` -> `existing` --- rest/replicatortest/replicator_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) }