Make webrtc/video-replace-track-to-null.html more robust
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jun 2017 17:52:46 +0000 (17:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jun 2017 17:52:46 +0000 (17:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173834

Patch by Youenn Fablet <youenn@apple.com> on 2017-06-26
Reviewed by Eric Carlson.

* webrtc/video-replace-track-to-null.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218811 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/webrtc/video-replace-track-to-null.html

index 790694a..21ab68c 100644 (file)
@@ -1,3 +1,12 @@
+2017-06-26  Youenn Fablet  <youenn@apple.com>
+
+        Make webrtc/video-replace-track-to-null.html more robust
+        https://bugs.webkit.org/show_bug.cgi?id=173834
+
+        Reviewed by Eric Carlson.
+
+        * webrtc/video-replace-track-to-null.html:
+
 2017-06-26  Joanmarie Diggs  <jdiggs@igalia.com>
 
         [ATK] Add support for aria-details and aria-errormessage
index 78652b5..78787bf 100644 (file)
@@ -59,11 +59,11 @@ function testCameraImage(resolve, reject, counter)
         resolve();
         return;
     }
-    if (++counter === 20) {
+    if (++counter === 40) {
         reject("testCameraImage timed out");
         return;
     }
-    setTimeout(() => testCameraImage(resolve, reject, counter));
+    setTimeout(() => testCameraImage(resolve, reject, counter), 100);
 }
 
 function testStoppedImage()