Skip to content

Commit 53e80e9

Browse files
Fix failure in test code ClusterPrivilegeTests
Closes #38030
1 parent 8280a20 commit 53e80e9

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
@@ -168,6 +168,7 @@ public void testThatSnapshotAndRestore() throws Exception {
168168
waitForSnapshotToFinish("my-repo", "my-snapshot");
169169
// user_d can create snapshots, but not concurrently
170170
assertAccessIsAllowed("user_d", "PUT", "/_snapshot/my-repo/my-snapshot-d", "{ \"indices\": \"someindex\" }");
171+
waitForSnapshotToFinish("my-repo", "my-snapshot-d");
171172

172173
assertAccessIsDenied("user_a", "DELETE", "/someindex");
173174
assertAccessIsDenied("user_b", "DELETE", "/someindex");

0 commit comments

Comments
 (0)