mreutegg commented on code in PR #969:
URL: https://github.com/apache/jackrabbit-oak/pull/969#discussion_r1224046330
##########
oak-blob-cloud-azure/src/test/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/AzuriteDockerRule.java:
##########
@@ -36,23 +37,30 @@
public class AzuriteDockerRule implements TestRule {
- private static final String IMAGE =
"mcr.microsoft.com/azure-storage/azurite:3.15.0";
-
+ private static final String IMAGE =
"mcr.microsoft.com/azure-storage/azurite:3.19.0";
+
public static final String ACCOUNT_KEY =
"Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==";
public static final String ACCOUNT_NAME = "devstoreaccount1";
private static final String CONTAINER_SUFFIX =
UUID.randomUUID().toString().substring(0, 8);
private final DockerRule wrappedRule;
+ private static final AtomicReference<Exception> STARTUP_EXCEPTION = new
AtomicReference<>();
+
public AzuriteDockerRule() {
wrappedRule = new DockerRule(ImmutableDockerConfig.builder()
.image(IMAGE)
.name("oak-test-azurite-" + CONTAINER_SUFFIX)
.ports("10000")
.addStartedListener(container -> {
- container.waitForPort("10000/tcp");
- container.waitForLog("Azurite Blob service is successfully
listening at http://0.0.0.0:10000");
+ try {
+ container.waitForPort("10000/tcp");
Review Comment:
I don't know if the problem is a slow Jenkins. 30 seconds already seems
generous to me and the actual problem may be something else. Maybe this could
be tackled in another JIRA ticket...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]