Skip to content

Commit

Permalink
e2e-tests: Increase timeout to receive failed recording event in COMP…
Browse files Browse the repository at this point in the history
…OSED_QUICK_START
  • Loading branch information
cruizba committed Dec 9, 2024
1 parent 1515f60 commit ef45123
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ void composedQuickStartRecordTest() throws Exception {
event = CustomWebhook.waitForEvent("recordingStatusChanged", 5); // started
Assertions.assertEquals("started", event.get("status").getAsString(),
"Wrong status in recordingStatusChanged event");
event = CustomWebhook.waitForEvent("recordingStatusChanged", 1); // failed
event = CustomWebhook.waitForEvent("recordingStatusChanged", 10); // failed
Assertions.assertEquals("failed", event.get("status").getAsString(),
"Wrong status in recordingStatusChanged event");
Assertions.assertEquals(Recording.Status.failed, OV.getRecording(sessionName + "~2").getStatus(),
Expand All @@ -1543,7 +1543,7 @@ void composedQuickStartRecordTest() throws Exception {
event = CustomWebhook.waitForEvent("recordingStatusChanged", 5); // started
Assertions.assertEquals("stopped", event.get("status").getAsString(),
"Wrong status in recordingStatusChanged event");
event = CustomWebhook.waitForEvent("recordingStatusChanged", 1); // failed
event = CustomWebhook.waitForEvent("recordingStatusChanged", 10); // failed
Assertions.assertEquals("ready", event.get("status").getAsString(),
"Wrong status in recordingStatusChanged event");
Assertions.assertEquals(Recording.Status.ready, OV.getRecording(sessionName + "~2").getStatus(),
Expand Down

0 comments on commit ef45123

Please sign in to comment.