Commit 2f4abbf
authored
[Test] Fix QueryableReservedRolesIT testQueryDeleteOrUpdateReservedRoles (elastic#122803)
Adds missing `assertBusy` in `testQueryDeleteOrUpdateReservedRoles`.
We wait for security migration to finish before test execution, but this is not
enough to guarantee that built-in roles are synchronized into the `.security`
index. In many cases, the roles have already been synchronized before the
query gets executed, but in rare cases the cluster is a bit slower and the
assertion fails because the built-in roles have not been indexed yet.
Resolves elastic#1204011 parent cf64bd3 commit 2f4abbf
File tree
1 file changed
+10
-8
lines changed- x-pack/plugin/security/qa/security-basic/src/javaRestTest/java/org/elasticsearch/xpack/security
1 file changed
+10
-8
lines changedLines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
| |||
0 commit comments