Skip to content

Commit 35d5c99

Browse files
committed
Add more logging
1 parent 4c9642a commit 35d5c99

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rest/blip_api_crud_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3609,7 +3609,7 @@ func TestBlipPullConflict(t *testing.T) {
36093609
// after resolving the conflict, the CBL version should remain the same but the ver of the CV is
36103610
// updated to be newer than the pre-conflict CBL version
36113611
require.Equal(t, preConflictCBLVersion.CV.SourceID, postConflictVersion.CV.SourceID)
3612-
require.Greater(t, postConflictVersion.CV.Value, preConflictCBLVersion.CV.Value)
3612+
require.Greater(t, postConflictVersion.CV.Value, preConflictCBLVersion.CV.Value, "PreConflictHLV %#v PostConflictHLV %#v", preConflictVersion, postConflictHLV)
36133613
require.Empty(t, postConflictHLV.PreviousVersions, "postConflictHLV: %#+v\n", postConflictHLV)
36143614
require.Equal(t, db.HLVVersions{
36153615
sgVersion.CV.SourceID: sgVersion.CV.Value,
@@ -3624,5 +3624,4 @@ func TestBlipPullConflict(t *testing.T) {
36243624
require.NoError(t, err)
36253625
require.True(t, bucketDoc.HLV.Equal(postConflictHLV), "Expected bucket doc HLV to match post-conflict HLV, got %#v, expected %#v", bucketDoc.HLV, postConflictHLV)
36263626
})
3627-
36283627
}

0 commit comments

Comments
 (0)