Skip to content

Commit ab5616f

Browse files
committed
Added longer timeout and poll interval
1 parent 80ff0ef commit ab5616f

File tree

1 file changed

+1
-1
lines changed
  • subprojects/admin/src/main/java/com/redis/enterprise

1 file changed

+1
-1
lines changed

subprojects/admin/src/main/java/com/redis/enterprise/Admin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public ModuleInstallResponse installModule(String filename, byte[] bytes) throws
224224
builder.addPart("module", new ByteArrayBody(bytes, ContentType.MULTIPART_FORM_DATA, filename));
225225
post.setEntity(builder.build());
226226
ModuleInstallResponse response = read(post, ModuleInstallResponse.class, HttpStatus.SC_ACCEPTED);
227-
Awaitility.await().until(() -> {
227+
Awaitility.await().timeout(Duration.ofSeconds(30)).pollInterval(Duration.ofSeconds(3)).until(() -> {
228228
log.info("Checking status of action {}", response.getActionUID());
229229
Action status = getAction(response.getActionUID());
230230
if ("completed".equals(status.getStatus())) {

0 commit comments

Comments
 (0)