mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: extend wrongBroadcastTest check condition
parent
77d562c7de
commit
7ecf7483bd
|
@ -2,7 +2,7 @@
|
|||
set -eu -o pipefail
|
||||
|
||||
################################################################
|
||||
# Any functions offered by this file assume that the path is #
|
||||
# Any function offered by this file assume that the path is #
|
||||
# located where the first command of each function requires it #
|
||||
################################################################
|
||||
|
||||
|
|
|
@ -2955,7 +2955,8 @@ public class OpenViduProTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
|||
Assertions.assertTrue(e.getMessage().contains("expected to return status 200 but got 409"),
|
||||
"Exception message wasn't 409. It was: " + e.getMessage());
|
||||
}
|
||||
Assertions.assertEquals(PETITIONS - 1, exceptions.size(), "Wrong number of councurrent started broadcasts");
|
||||
Assertions.assertEquals(1, responses.size(), "Wrong number of successfully started broadcasts");
|
||||
Assertions.assertEquals(PETITIONS - 1, exceptions.size(), "Wrong number of concurrent started broadcasts");
|
||||
// 409
|
||||
restClient.commonRestString(HttpMethod.POST, "/openvidu/api/broadcast/start", body,
|
||||
HttpURLConnection.HTTP_CONFLICT);
|
||||
|
|
Loading…
Reference in New Issue