Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sleep thread to allow jobs to finish #1066

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,9 @@ class RestExplainActionIT : IndexStateManagementRestTestCase() {

removePolicyFromIndex(indexName1)
removePolicyFromIndex(indexName2)

// wait for job to finish
Thread.sleep(1000)
}

fun `test explain filter failed index`() {
Expand Down Expand Up @@ -607,6 +610,9 @@ class RestExplainActionIT : IndexStateManagementRestTestCase() {

removePolicyFromIndex(indexName1)
removePolicyFromIndex(indexName2)

// wait for job to finish
Thread.sleep(1000)
}

@Suppress("UNCHECKED_CAST") // Do assertion of the response map here so we don't have many places to do suppression.
Expand Down
Loading