Skip to content

Commit b5ee7ac

Browse files
MushMallherman-cs
authored andcommitted
Test stability improvememt
1 parent 52d2e8c commit b5ee7ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tst/SignalingApiFunctionalityTest.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1445,8 +1445,8 @@ TEST_F(SignalingApiFunctionalityTest, iceRefreshEmulationWithFaultInjectionError
14451445
BYTE firstByte = pSignalingClient->pAwsCredentials->secretKey[0];
14461446
pSignalingClient->pAwsCredentials->secretKey[0] = 'A';
14471447

1448-
// Wait for ICE refresh while connected
1449-
THREAD_SLEEP(15 * HUNDREDS_OF_NANOS_IN_A_SECOND);
1448+
// Wait for ICE refresh while connected and terminate with an error that will be called via error callback
1449+
THREAD_SLEEP(30 * HUNDREDS_OF_NANOS_IN_A_SECOND);
14501450

14511451
// While the background ICE refresh is happening, we will be blocked for the refresh thread to finish
14521452
// In this case, the ICE refresh will eventually fail, however, we should still be able to send the

0 commit comments

Comments
 (0)