File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
driver-sync/src/test/functional/com/mongodb/client Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package com .mongodb .client ;
18
18
19
+ import com .mongodb .ClusterFixture ;
19
20
import com .mongodb .MongoClientSettings ;
20
21
import com .mongodb .MongoDriverInformation ;
21
22
import com .mongodb .event .CommandStartedEvent ;
36
37
import static com .mongodb .ClusterFixture .sleep ;
37
38
import static org .assertj .core .api .AssertionsForClassTypes .assertThat ;
38
39
import static org .junit .jupiter .api .Assertions .assertFalse ;
40
+ import static org .junit .jupiter .api .Assumptions .assumeFalse ;
39
41
40
42
/**
41
43
* See <a href="https://github.com/mongodb/specifications/blob/master/source/mongodb-handshake/handshake.md#test-plan">spec</a>
@@ -50,6 +52,8 @@ protected abstract MongoClient createMongoClient(@Nullable final MongoDriverInfo
50
52
51
53
@ BeforeEach
52
54
public void setUp () {
55
+ assumeFalse (ClusterFixture .isLoadBalanced ());
56
+
53
57
commandListener = new TestCommandListener ();
54
58
connectionPoolListener = new TestConnectionPoolListener ();
55
59
InternalStreamConnection .setRecordEverything (true );
You can’t perform that action at this time.
0 commit comments