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