Skip to content

Commit

Permalink
Improve test stability
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Mar 22, 2021
1 parent 79529f5 commit 0512b08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/io/antmedia/integration/MuxingTest.java
Expand Up @@ -148,6 +148,11 @@ public void testSupportVideoCodecUnSupportedAudioCodec() {
Thread.sleep(5000);

assertFalse(testFile("http://" + SERVER_ADDR + ":5080/LiveApp/streams/" + streamName + ".m3u8"));

Awaitility.await().atMost(5, TimeUnit.SECONDS)
.until(() -> {
return !rtmpSendingProcess.isAlive();
});

assertFalse(rtmpSendingProcess.isAlive());

Expand Down

0 comments on commit 0512b08

Please sign in to comment.