io.vertx.test.fakecluster.FakeClusterManager Java Examples
The following examples show how to use
io.vertx.test.fakecluster.FakeClusterManager.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RxVertxTestBase.java From graviteeio-access-management with Apache License 2.0 | 6 votes |
protected void tearDown() throws Exception { if (vertx != null) { close(vertx.getDelegate()); } if (created != null) { CountDownLatch latch = new CountDownLatch(created.size()); for (Vertx v : created) { v.close(ar -> { if (ar.failed()) { log.error("Failed to shutdown vert.x", ar.cause()); } latch.countDown(); }); } assertTrue(latch.await(180, TimeUnit.SECONDS)); } FakeClusterManager.reset(); // Bit ugly super.tearDown(); }
Example #2
Source File: DiscoveryImplClusteredTest.java From vertx-service-discovery with Apache License 2.0 | 5 votes |
@Before public void setUp() { FakeClusterManager.reset(); VertxOptions options = new VertxOptions(); options .setClusterManager(new FakeClusterManager()) .getEventBusOptions().setHost("127.0.0.1"); Vertx.clusteredVertx(options, ar -> { vertx = ar.result(); }); await().until(() -> vertx != null); discovery = new DiscoveryImpl(vertx, new ServiceDiscoveryOptions()); }
Example #3
Source File: ServiceEntryPointTestQueryParam.java From vert.x-microservice with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #4
Source File: EventbusBlockingChainingByteTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #5
Source File: ServiceDiscoveryTest.java From vert.x-microservice with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #6
Source File: ClusteredSessionHandlerTest.java From vertx-web with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #7
Source File: ServiceRegistryTest.java From vert.x-microservice with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #8
Source File: WSServiceSelfhostedTest.java From vert.x-microservice with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #9
Source File: WSServiceTest.java From vert.x-microservice with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #10
Source File: ServiceRegistryTest.java From vert.x-microservice with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #11
Source File: WSTimerTest.java From vert.x-microservice with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #12
Source File: ServiceDiscoveryTests.java From vert.x-microservice with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #13
Source File: RESTServiceBlockingChainObjectTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #14
Source File: EventbusChainingObjectTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #15
Source File: EventbusChainingByteTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #16
Source File: RESTServiceBlockingChainStringTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #17
Source File: EventbusChainingStringTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #18
Source File: RESTServiceChainStringTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #19
Source File: EventbusBlockingChainingStringTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #20
Source File: RESTServiceChainByteTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #21
Source File: RESTServiceChainObjectTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #22
Source File: EventbusFailureTests.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #23
Source File: EventbusFailureRetryTests.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #24
Source File: EventbusFailureCircuitBreakerTests.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #25
Source File: EventbusFailureStatelessCircuitBreakerTests.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #26
Source File: EventbusBasicTests.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #27
Source File: RESTAsyncThreadCheckStaticInitializer.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #28
Source File: RESTVerticleRouteBuilderSelfhostedAsyncTest.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #29
Source File: RESTJerseyClientTimeoutTests.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }
Example #30
Source File: RESTJerseyPOSTFileClientTests.java From vxms with Apache License 2.0 | 4 votes |
@Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); }