File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
driver-sync/src/test/functional/com/mongodb/client Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 28
28
import com .mongodb .client .model .changestream .ChangeStreamDocument ;
29
29
import com .mongodb .client .model .changestream .FullDocumentBeforeChange ;
30
30
import com .mongodb .client .model .changestream .SplitEvent ;
31
- import com .mongodb .connection .ServerVersion ;
32
31
import com .mongodb .internal .operation .AggregateResponseBatchCursor ;
33
32
import org .bson .BsonArray ;
34
33
import org .bson .BsonDocument ;
40
39
41
40
import java .lang .reflect .Field ;
42
41
43
- import static com .mongodb .ClusterFixture .getServerVersion ;
44
42
import static com .mongodb .ClusterFixture .isDiscoverableReplicaSet ;
45
43
import static com .mongodb .ClusterFixture .serverVersionAtLeast ;
46
44
import static com .mongodb .ClusterFixture .serverVersionLessThan ;
@@ -410,7 +408,7 @@ public void test16GetResumeTokenReturnsIdOfPreviousDocument() {
410
408
411
409
@ Test
412
410
public void test19SplitChangeStreamEvents () {
413
- assumeTrue (getServerVersion (). compareTo ( new ServerVersion ( asList ( 6 , 0 , 9 ))) >= 0 );
411
+ assumeTrue (serverVersionAtLeast ( 6 , 0 ) );
414
412
collection .drop ();
415
413
database .createCollection (
416
414
getClass ().getName (),
You can’t perform that action at this time.
0 commit comments