@@ -30,6 +30,10 @@ describe('PNCounterConsistencyTest', function () {
3030 var member1 ;
3131 var client ;
3232
33+ before ( function ( ) {
34+ Util . markServerVersionAtLeast ( this , null , '3.10' ) ;
35+ } ) ;
36+
3337 beforeEach ( function ( ) {
3438 this . timeout ( 10000 ) ;
3539 return RC . createCluster ( null , fs . readFileSync ( path . resolve ( __dirname , 'hazelcast_crdtreplication_delayed.xml' ) , 'utf8' ) ) . then ( function ( cl ) {
@@ -52,6 +56,7 @@ describe('PNCounterConsistencyTest', function () {
5256 } ) ;
5357
5458 it ( 'target replica killed, no replica is sufficiently up-to-date, get operation throws ConsistencyLostError' , function ( ) {
59+ Util . markServerVersionAtLeast ( this , client , '3.10' ) ;
5560 var pncounter = client . getPNCounter ( 'pncounter' ) ;
5661 return pncounter . getAndAdd ( 3 ) . then ( function ( ) {
5762 var currentReplicaAddress = pncounter . currentTargetReplicaAddress ;
@@ -63,6 +68,7 @@ describe('PNCounterConsistencyTest', function () {
6368 } ) ;
6469
6570 it ( 'target replica killed, no replica is sufficiently up-to-date, get operation may proceed after calling reset' , function ( ) {
71+ Util . markServerVersionAtLeast ( this , client , '3.10' ) ;
6672 var pncounter = client . getPNCounter ( 'pncounter' ) ;
6773 return pncounter . getAndAdd ( 3 ) . then ( function ( ) {
6874 var currentReplicaAddress = pncounter . currentTargetReplicaAddress ;
0 commit comments