Skip to content

Commit c055a3d

Browse files
authored
Fix Flaky Test PersistentTasksExecutorFullRestartIT.testFullClusterRestart (opensearch-project#13350)
Signed-off-by: Pranshu Shukla <pranshushukla06@gmail.com>
1 parent db361ec commit c055a3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/internalClusterTest/java/org/opensearch/persistent/PersistentTasksExecutorFullRestartIT.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
import java.util.Collection;
4444
import java.util.Collections;
4545
import java.util.List;
46+
import java.util.concurrent.TimeUnit;
4647

4748
import static org.hamcrest.Matchers.empty;
4849
import static org.hamcrest.Matchers.equalTo;
@@ -129,7 +130,7 @@ public void testFullClusterRestart() throws Exception {
129130
.custom(PersistentTasksCustomMetadata.TYPE)).tasks(),
130131
empty()
131132
);
132-
});
133+
}, 20, TimeUnit.SECONDS);
133134

134135
}
135136
}

0 commit comments

Comments
 (0)