@@ -331,8 +331,7 @@ func TestBlipDeltaSyncNewAttachmentPull(t *testing.T) {
331331 // Check EE is delta, and CE is full-body replication
332332 // msg, ok = client.pullReplication.WaitForMessage(5)
333333 msg = btcRunner .WaitForBlipRevMessage (client .id , doc1ID , version2 )
334- // Delta sync only works for Version vectors, CBG-3748 (backwards compatibility for revID)
335- sgCanUseDeltas := base .IsEnterpriseEdition () && client .UseHLV ()
334+ sgCanUseDeltas := base .IsEnterpriseEdition ()
336335 if sgCanUseDeltas {
337336 // Check the request was sent with the correct deltaSrc property
338337 client .AssertDeltaSrcProperty (t , msg , version )
@@ -417,8 +416,7 @@ func TestBlipDeltaSyncPull(t *testing.T) {
417416 msg := btcRunner .WaitForBlipRevMessage (client .id , docID , version2 )
418417
419418 // Check EE is delta, and CE is full-body replication
420- // Delta sync only works for Version vectors, CBG-3748 (backwards compatibility for revID)
421- sgCanUseDeltas := base .IsEnterpriseEdition () && client .UseHLV ()
419+ sgCanUseDeltas := base .IsEnterpriseEdition ()
422420 if sgCanUseDeltas {
423421 // Check the request was sent with the correct deltaSrc property
424422 client .AssertDeltaSrcProperty (t , msg , version )
@@ -464,7 +462,6 @@ func TestBlipDeltaSyncPullResend(t *testing.T) {
464462 GuestEnabled : true ,
465463 }
466464 btcRunner := NewBlipTesterClientRunner (t )
467- btcRunner .SkipSubtest [RevtreeSubtestName ] = true // delta sync not implemented for rev tree replication, CBG-3748
468465 btcRunner .Run (func (t * testing.T ) {
469466 rt := NewRestTester (t ,
470467 & rtConfig )
@@ -659,8 +656,7 @@ func TestBlipDeltaSyncPullTombstoned(t *testing.T) {
659656 deltasRequestedEnd = rt .GetDatabase ().DbStats .DeltaSync ().DeltasRequested .Value ()
660657 deltasSentEnd = rt .GetDatabase ().DbStats .DeltaSync ().DeltasSent .Value ()
661658 }
662- // delta sync not implemented for rev tree replication, CBG-3748
663- sgCanUseDelta := base .IsEnterpriseEdition () && client .UseHLV ()
659+ sgCanUseDelta := base .IsEnterpriseEdition ()
664660 if sgCanUseDelta {
665661 assert .Equal (t , deltaCacheHitsStart , deltaCacheHitsEnd )
666662 assert .Equal (t , deltaCacheMissesStart + 1 , deltaCacheMissesEnd )
@@ -804,8 +800,7 @@ func TestBlipDeltaSyncPullTombstonedStarChan(t *testing.T) {
804800 deltasSentEnd = rt .GetDatabase ().DbStats .DeltaSync ().DeltasSent .Value ()
805801 }
806802
807- // delta sync not implemented for rev tree replication, CBG-3748
808- sgCanUseDelta := base .IsEnterpriseEdition () && client1 .UseHLV ()
803+ sgCanUseDelta := base .IsEnterpriseEdition ()
809804 if sgCanUseDelta {
810805 assert .Equal (t , deltaCacheHitsStart + 1 , deltaCacheHitsEnd )
811806 assert .Equal (t , deltaCacheMissesStart + 1 , deltaCacheMissesEnd )
@@ -851,7 +846,7 @@ func TestBlipDeltaSyncPullRevCache(t *testing.T) {
851846 defer client .Close ()
852847
853848 client .ClientDeltas = true
854- sgCanUseDeltas := base .IsEnterpriseEdition () && client . UseHLV ()
849+ sgCanUseDeltas := base .IsEnterpriseEdition ()
855850 btcRunner .StartPull (client .id )
856851
857852 // create doc1 rev 1-0335a345b6ffed05707ccc4cbc1b67f4
@@ -878,7 +873,6 @@ func TestBlipDeltaSyncPullRevCache(t *testing.T) {
878873
879874 // Check EE is delta
880875 // Check the request was sent with the correct deltaSrc property
881- // delta sync not implemented for rev tree replication, CBG-3748
882876 if sgCanUseDeltas {
883877 client .AssertDeltaSrcProperty (t , msg , version1 )
884878 } else {
@@ -919,7 +913,6 @@ func TestBlipDeltaSyncPullRevCache(t *testing.T) {
919913 updatedDeltaCacheHits := rt .GetDatabase ().DbStats .DeltaSync ().DeltaCacheHit .Value ()
920914 updatedDeltaCacheMisses := rt .GetDatabase ().DbStats .DeltaSync ().DeltaCacheMiss .Value ()
921915
922- // delta sync not implemented for rev tree replication, CBG-3748
923916 if sgCanUseDeltas {
924917 assert .Equal (t , deltaCacheHits + 1 , updatedDeltaCacheHits )
925918 assert .Equal (t , deltaCacheMisses , updatedDeltaCacheMisses )
@@ -955,7 +948,7 @@ func TestBlipDeltaSyncPush(t *testing.T) {
955948 client := btcRunner .NewBlipTesterClientOptsWithRT (rt , nil )
956949 defer client .Close ()
957950 client .ClientDeltas = true
958- sgCanUseDeltas := base .IsEnterpriseEdition () && client . UseHLV ()
951+ sgCanUseDeltas := base .IsEnterpriseEdition ()
959952
960953 btcRunner .StartPull (client .id )
961954
0 commit comments