Skip to content

Commit cc3a17a

Browse files
committed
Remove Thread.sleep
Signed-off-by: Craig Perkins <[email protected]>
1 parent 0cd8e56 commit cc3a17a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

alerting/src/test/kotlin/org/opensearch/alerting/AlertingRestTestCase.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,6 @@ abstract class AlertingRestTestCase : ODFERestTestCase() {
19101910
createTestIndex(index)
19111911
createCustomIndexRole(role, index, clusterPermissions)
19121912
createUserRolesMapping(role, arrayOf(user))
1913-
Thread.sleep(1000) // Allow security changes to propagate
19141913
}
19151914

19161915
fun createUserWithRoles(
@@ -1927,7 +1926,6 @@ abstract class AlertingRestTestCase : ODFERestTestCase() {
19271926
createUserRolesMapping(role, arrayOf(user))
19281927
}
19291928
}
1930-
Thread.sleep(1000) // Allow security changes to propagate
19311929
}
19321930

19331931
fun createUserWithDocLevelSecurityTestData(

0 commit comments

Comments
 (0)