File tree Expand file tree Collapse file tree
src/test/java/org/folio/dew/repository Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import static org .testcontainers .containers .localstack .LocalStackContainer .Service .S3 ;
44
5- import java .time .Duration ;
65import lombok .extern .log4j .Log4j2 ;
76import org .springframework .test .context .DynamicPropertyRegistry ;
87import org .springframework .test .context .DynamicPropertySource ;
98import org .testcontainers .containers .localstack .LocalStackContainer ;
10- import org .testcontainers .containers .wait .strategy .Wait ;
119import org .testcontainers .junit .jupiter .Container ;
1210import org .testcontainers .junit .jupiter .Testcontainers ;
1311import org .testcontainers .utility .DockerImageName ;
@@ -20,13 +18,6 @@ public abstract class BaseIntegration {
2018 public static final LocalStackContainer localstack
2119 = new LocalStackContainer (DockerImageName .parse ("localstack/localstack:s3-latest" ))
2220 .withServices (S3 )
23- .waitingFor (
24- Wait .forHttp ("/_localstack/health" )
25- .forPort (4566 )
26- .forStatusCode (200 )
27- .forResponsePredicate (s -> s .contains ("\" s3\" : \" running\" " ))
28- .withStartupTimeout (Duration .ofMinutes (1 ))
29- )
3021 .withEnv ("EAGER_SERVICE_LOADING" , "1" );
3122
3223
You can’t perform that action at this time.
0 commit comments