Skip to content

Commit 1787394

Browse files
Fix failure in test code ClusterPrivilegeTests
Closes #38030
1 parent 5e6e234 commit 1787394

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/security/src/test/java/org/elasticsearch/integration/ClusterPrivilegeTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ public void testThatSnapshotAndRestore() throws Exception {
165165
waitForSnapshotToFinish("my-repo", "my-snapshot");
166166
// user_d can create snapshots, but not concurrently
167167
assertAccessIsAllowed("user_d", "PUT", "/_snapshot/my-repo/my-snapshot-d", "{ \"indices\": \"someindex\" }");
168+
waitForSnapshotToFinish("my-repo", "my-snapshot-d");
168169

169170
assertAccessIsDenied("user_a", "DELETE", "/someindex");
170171
assertAccessIsDenied("user_b", "DELETE", "/someindex");

0 commit comments

Comments
 (0)