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 .connection .ClusterType ;
20
21
import com .mongodb .event .ClusterClosedEvent ;
21
22
import com .mongodb .event .ClusterDescriptionChangedEvent ;
39
40
import static com .mongodb .client .Fixture .getMongoClientSettingsBuilder ;
40
41
import static org .junit .jupiter .api .Assertions .assertEquals ;
41
42
import static org .junit .jupiter .api .Assertions .assertTrue ;
43
+ import static org .junit .jupiter .api .Assumptions .assumeFalse ;
42
44
43
45
public class ClusterEventPublishingTest {
44
46
45
47
@ Test
46
48
public void shouldPublishExpectedEvents () throws InterruptedException {
49
+ assumeFalse (ClusterFixture .isLoadBalanced ());
50
+
47
51
AllClusterEventListener clusterEventListenerOne = new AllClusterEventListener ();
48
52
AllClusterEventListener clusterEventListenerTwo = new AllClusterEventListener ();
49
53
You can’t perform that action at this time.
0 commit comments