Skip to content

Commit 9d5cc9b

Browse files
committed
stabilize tests
1 parent 07bc312 commit 9d5cc9b

File tree

10 files changed

+57
-1
lines changed

10 files changed

+57
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@
192192
<IGNITE_NO_ASCII>true</IGNITE_NO_ASCII>
193193
<IGNITE_UPDATE_NOTIFIER>false</IGNITE_UPDATE_NOTIFIER>
194194
<IGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE>1000</IGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE>
195+
<IGNITE_AFFINITY_HISTORY_SIZE>500</IGNITE_AFFINITY_HISTORY_SIZE>
195196
<vertx.logger-delegate-factory-class-name>io.vertx.core.logging.SLF4JLogDelegateFactory</vertx.logger-delegate-factory-class-name>
196197
<io.netty.leakDetectionLevel>PARANOID</io.netty.leakDetectionLevel>
197198
<buildDirectory>${project.build.directory}</buildDirectory>
@@ -225,6 +226,7 @@
225226
<IGNITE_NO_ASCII>true</IGNITE_NO_ASCII>
226227
<IGNITE_UPDATE_NOTIFIER>false</IGNITE_UPDATE_NOTIFIER>
227228
<IGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE>1000</IGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE>
229+
<IGNITE_AFFINITY_HISTORY_SIZE>500</IGNITE_AFFINITY_HISTORY_SIZE>
228230
<vertx.logger-delegate-factory-class-name>io.vertx.core.logging.SLF4JLogDelegateFactory</vertx.logger-delegate-factory-class-name>
229231
<io.netty.leakDetectionLevel>PARANOID</io.netty.leakDetectionLevel>
230232
<buildDirectory>${project.build.directory}</buildDirectory>
@@ -288,4 +290,4 @@
288290
</plugin>
289291
</plugins>
290292
</build>
291-
</project>
293+
</project>

src/test/java/io/vertx/core/IgniteComplexHATest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ public void setUp() throws Exception {
4545
super.setUp();
4646
}
4747

48+
@Override
49+
public void tearDown() throws Exception {
50+
super.tearDown();
51+
System.clearProperty("IGNITE_HOME");
52+
}
53+
4854
@Override
4955
protected Future<Vertx> clusteredVertx(VertxOptions options) {
5056
try {

src/test/java/io/vertx/core/IgniteHATest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ public void setUp() throws Exception {
4343
super.setUp();
4444
}
4545

46+
@Override
47+
public void tearDown() throws Exception {
48+
super.tearDown();
49+
System.clearProperty("IGNITE_HOME");
50+
}
51+
4652
@Override
4753
protected ClusterManager getClusterManager() {
4854
return new IgniteClusterManager();

src/test/java/io/vertx/core/eventbus/IgniteClusteredEventbusTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ public void setUp() throws Exception {
4444
super.setUp();
4545
}
4646

47+
@Override
48+
public void tearDown() throws Exception {
49+
super.tearDown();
50+
System.clearProperty("IGNITE_HOME");
51+
}
52+
4753
@Override
4854
protected ClusterManager getClusterManager() {
4955
return new IgniteClusterManager();

src/test/java/io/vertx/core/eventbus/IgniteNodeInfoTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ public void setUp() throws Exception {
4444
super.setUp();
4545
}
4646

47+
@Override
48+
public void tearDown() throws Exception {
49+
super.tearDown();
50+
System.clearProperty("IGNITE_HOME");
51+
}
52+
4753
@Override
4854
protected ClusterManager getClusterManager() {
4955
return new IgniteClusterManager();

src/test/java/io/vertx/core/shareddata/IgniteClusteredAsyncMapTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ public void setUp() throws Exception {
4444
super.setUp();
4545
}
4646

47+
@Override
48+
public void tearDown() throws Exception {
49+
super.tearDown();
50+
System.clearProperty("IGNITE_HOME");
51+
}
52+
4753
@Override
4854
protected ClusterManager getClusterManager() {
4955
return new IgniteClusterManager();

src/test/java/io/vertx/core/shareddata/IgniteClusteredAsynchronousLockTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ public void setUp() throws Exception {
4545
super.setUp();
4646
}
4747

48+
@Override
49+
public void tearDown() throws Exception {
50+
super.tearDown();
51+
System.clearProperty("IGNITE_HOME");
52+
}
53+
4854
@Override
4955
protected ClusterManager getClusterManager() {
5056
return new IgniteClusterManager();

src/test/java/io/vertx/core/shareddata/IgniteClusteredSharedCounterTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ public void setUp() throws Exception {
4444
super.setUp();
4545
}
4646

47+
@Override
48+
public void tearDown() throws Exception {
49+
super.tearDown();
50+
System.clearProperty("IGNITE_HOME");
51+
}
52+
4753
@Override
4854
protected ClusterManager getClusterManager() {
4955
return new IgniteClusterManager();

src/test/java/io/vertx/ext/web/sstore/IgniteClusteredSessionHandlerTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ public void setUp() throws Exception {
4444
super.setUp();
4545
}
4646

47+
@Override
48+
public void tearDown() throws Exception {
49+
super.tearDown();
50+
System.clearProperty("IGNITE_HOME");
51+
}
52+
4753
@Override
4854
protected ClusterManager getClusterManager() {
4955
return new IgniteClusterManager();

src/test/java/io/vertx/servicediscovery/impl/IgniteDiscoveryImplClusteredTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,10 @@ public void setUp() throws Exception {
4747
await().until(() -> vertx != null);
4848
discovery = new DiscoveryImpl(vertx, new ServiceDiscoveryOptions());
4949
}
50+
51+
@Override
52+
public void tearDown() {
53+
super.tearDown();
54+
System.clearProperty("IGNITE_HOME");
55+
}
5056
}

0 commit comments

Comments
 (0)