Skip to content

Commit

Permalink
[Test] increase the wait time after transform job triggered
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <[email protected]>
  • Loading branch information
bowenlan-amzn committed Oct 11, 2023
1 parent 3ddd75a commit 9ed9b15
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ class TransformActionIT : IndexStateManagementRestTestCase() {

// Change the start time so that the transform action will be attempted.
updateManagedIndexConfigStartTime(managedIndexConfig)
waitFor {
waitFor(timeout = Instant.ofEpochSecond(60)) {
assertEquals(
WaitForTransformCompletionStep.getJobCompletionMessage(transformId, indexName),
getExplainManagedIndexMetaData(indexName).info?.get("message")
Expand Down Expand Up @@ -312,7 +312,7 @@ class TransformActionIT : IndexStateManagementRestTestCase() {

// Change the start time so that the transform action will be attempted.
updateManagedIndexConfigStartTime(managedIndexConfig)
waitFor {
waitFor(timeout = Instant.ofEpochSecond(60)) {
assertEquals(
WaitForTransformCompletionStep.getJobCompletionMessage(transformId, indexName),
getExplainManagedIndexMetaData(indexName).info?.get("message")
Expand Down Expand Up @@ -347,7 +347,7 @@ class TransformActionIT : IndexStateManagementRestTestCase() {

// Change the start time so that the second transform action will be attempted.
updateManagedIndexConfigStartTime(managedIndexConfig)
waitFor {
waitFor(timeout = Instant.ofEpochSecond(60)) {
assertEquals(
WaitForTransformCompletionStep.getJobCompletionMessage(transformId, indexName),
getExplainManagedIndexMetaData(indexName).info?.get("message")
Expand Down

0 comments on commit 9ed9b15

Please sign in to comment.