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 1616
1717package com .mongodb .client ;
1818
19+ import com .mongodb .ClusterFixture ;
1920import com .mongodb .connection .ClusterType ;
2021import com .mongodb .event .ClusterClosedEvent ;
2122import com .mongodb .event .ClusterDescriptionChangedEvent ;
3940import static com .mongodb .client .Fixture .getMongoClientSettingsBuilder ;
4041import static org .junit .jupiter .api .Assertions .assertEquals ;
4142import static org .junit .jupiter .api .Assertions .assertTrue ;
43+ import static org .junit .jupiter .api .Assumptions .assumeFalse ;
4244
4345public class ClusterEventPublishingTest {
4446
4547 @ Test
4648 public void shouldPublishExpectedEvents () throws InterruptedException {
49+ assumeFalse (ClusterFixture .isLoadBalanced ());
50+
4751 AllClusterEventListener clusterEventListenerOne = new AllClusterEventListener ();
4852 AllClusterEventListener clusterEventListenerTwo = new AllClusterEventListener ();
4953
You can’t perform that action at this time.
0 commit comments