Skip to content

Commit 1bfbf39

Browse files
committed
increase timeout to see if that fixes it
1 parent a85b008 commit 1bfbf39

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/external-modules/multi-project/src/javaRestTest/java/org/elasticsearch/xpack/security/SecurityRolesMultiProjectIT.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import java.io.IOException;
2727
import java.util.Collection;
2828
import java.util.Map;
29+
import java.util.concurrent.TimeUnit;
2930

3031
import static org.hamcrest.Matchers.contains;
3132
import static org.hamcrest.Matchers.containsInAnyOrder;
@@ -132,7 +133,8 @@ public void testUpdatingFileBasedRoleAffectsAllProjects() throws Exception {
132133
assertBusy(() -> {
133134
assertThat(getClusterPrivileges(project1, username1), contains("monitor"));
134135
assertThat(getClusterPrivileges(project2, username2), contains("monitor"));
135-
});
136+
}, 20, TimeUnit.SECONDS); // increasing this to try and solve for a rare failure
137+
136138
rolesFile.update(Resource.fromString(""));
137139

138140
assertBusy(() -> {

0 commit comments

Comments
 (0)