Fix flaky test method in KafkaSupervisorTest (#13315)

This commit is contained in:
AmatyaAvadhanula 2022-11-05 10:31:40 +05:30 committed by GitHub
parent d8329195f7
commit a17ffdfc5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -4054,6 +4054,8 @@ public class KafkaSupervisorTest extends EasyMockSupport
supervisor.start();
supervisor.runInternal();
Thread.sleep(1000);
Assert.assertEquals(failsToResumePausedTask.getId(), shutdownTaskId.getValue());
verifyAll();