Make Testcontainer wait strategies final
This commit is contained in:
parent
f39cea0428
commit
f6cc1cbd76
|
|
@ -43,7 +43,7 @@ public class CassandraContainer extends Container {
|
||||||
.withStartupAttempts(3).withStartupTimeout(Duration.ofSeconds(60)));
|
.withStartupAttempts(3).withStartupTimeout(Duration.ofSeconds(60)));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class WaitStrategy extends HostPortWaitStrategy {
|
private static final class WaitStrategy extends HostPortWaitStrategy {
|
||||||
|
|
||||||
private final int port;
|
private final int port;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public class Neo4jContainer extends Container {
|
||||||
.withEnv("NEO4J_AUTH", "none"));
|
.withEnv("NEO4J_AUTH", "none"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class WaitStrategy extends HostPortWaitStrategy {
|
private static final class WaitStrategy extends HostPortWaitStrategy {
|
||||||
|
|
||||||
private final int port;
|
private final int port;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue