Skip to content

Commit 8ec406e

Browse files
committed
make tests more stable: disable Java's DNS cache
1 parent 8551aae commit 8ec406e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@
9595
<configuration>
9696
<parallel>classes</parallel>
9797
<threadCount>4</threadCount>
98+
<systemPropertyVariables>
99+
<networkaddress.cache.ttl>0</networkaddress.cache.ttl>
100+
<networkaddress.cache.negative.ttl>0</networkaddress.cache.negative.ttl>
101+
</systemPropertyVariables>
98102
</configuration>
99103
</plugin>
100104
</plugins>

0 commit comments

Comments
 (0)