Skip to content

Commit 3cd265d

Browse files
Apply suggestion from @sadanand48
Co-authored-by: Sadanand Shenoy <sadanand.shenoy4898@gmail.com>
1 parent 73105e0 commit 3cd265d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOMRatisSnapshots.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ public void testInstallSnapshotOzoneManagerNotInRunningState() throws Exception
965965
OzoneManager.setTestInstallSnapshot(true);
966966
LogCapturer logCapture = LogCapturer.captureLogs(OzoneManager.class);
967967
assertLogCapture(logCapture, "OzoneManager is not in running state");
968+
GenericTestUtils.waitFor(followerOM::isRunning, 100, 30_000);
968969
OzoneManager.setTestInstallSnapshot(false);
969970

970971
// The recently started OM should be lagging behind the leader OM.

0 commit comments

Comments
 (0)