Skip to content

Commit

Permalink
Fix failure in test code ClusterPrivilegeTests
Browse files Browse the repository at this point in the history
Closes #38030
  • Loading branch information
albertzaharovits committed Jan 30, 2019
1 parent 5e6e234 commit 1787394
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public void testThatSnapshotAndRestore() throws Exception {
waitForSnapshotToFinish("my-repo", "my-snapshot");
// user_d can create snapshots, but not concurrently
assertAccessIsAllowed("user_d", "PUT", "/_snapshot/my-repo/my-snapshot-d", "{ \"indices\": \"someindex\" }");
waitForSnapshotToFinish("my-repo", "my-snapshot-d");

assertAccessIsDenied("user_a", "DELETE", "/someindex");
assertAccessIsDenied("user_b", "DELETE", "/someindex");
Expand Down

0 comments on commit 1787394

Please sign in to comment.