Title: [188689] trunk/Source/_javascript_Core
Revision
188689
Author
[email protected]
Date
2015-08-20 10:41:43 -0700 (Thu, 20 Aug 2015)

Log Message

A watchdog tests is failing on Windows.
https://bugs.webkit.org/show_bug.cgi?id=148228

Reviewed by Brent Fulgham.

The test just needed a little more time because Windows' timer resolution is low.
After increasing the test deadlines, the test started passing.

* API/tests/ExecutionTimeLimitTest.cpp:
(testExecutionTimeLimit):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/API/tests/ExecutionTimeLimitTest.cpp (188688 => 188689)


--- trunk/Source/_javascript_Core/API/tests/ExecutionTimeLimitTest.cpp	2015-08-20 17:40:48 UTC (rev 188688)
+++ trunk/Source/_javascript_Core/API/tests/ExecutionTimeLimitTest.cpp	2015-08-20 17:41:43 UTC (rev 188689)
@@ -264,8 +264,8 @@
         JSContextGroupSetExecutionTimeLimit(contextGroup, timeLimit, extendTerminateCallback, 0);
         {
             unsigned timeBeforeExtendedDeadline = 200 + tierAdjustmentMillis;
-            unsigned timeAfterExtendedDeadline = 350 + tierAdjustmentMillis;
-            unsigned maxBusyLoopTime = 500 + tierAdjustmentMillis;
+            unsigned timeAfterExtendedDeadline = 400 + tierAdjustmentMillis;
+            unsigned maxBusyLoopTime = 600 + tierAdjustmentMillis;
 
             StringBuilder scriptBuilder;
             scriptBuilder.append("function foo() { var startTime = currentCPUTime(); while (true) { for (var i = 0; i < 1000; i++); if (currentCPUTime() - startTime > ");

Modified: trunk/Source/_javascript_Core/ChangeLog (188688 => 188689)


--- trunk/Source/_javascript_Core/ChangeLog	2015-08-20 17:40:48 UTC (rev 188688)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-08-20 17:41:43 UTC (rev 188689)
@@ -1,5 +1,18 @@
 2015-08-20  Mark Lam  <[email protected]>
 
+        A watchdog tests is failing on Windows.
+        https://bugs.webkit.org/show_bug.cgi?id=148228
+
+        Reviewed by Brent Fulgham.
+
+        The test just needed a little more time because Windows' timer resolution is low.
+        After increasing the test deadlines, the test started passing.
+
+        * API/tests/ExecutionTimeLimitTest.cpp:
+        (testExecutionTimeLimit):
+
+2015-08-20  Mark Lam  <[email protected]>
+
         Fixed some warnings on Windows.
         https://bugs.webkit.org/show_bug.cgi?id=148224
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to