Title: [221700] trunk/Tools
Revision
221700
Author
[email protected]
Date
2017-09-06 13:48:01 -0700 (Wed, 06 Sep 2017)

Log Message

[Win] test-webkitpy test timeout_context_unittest is failing.
https://bugs.webkit.org/show_bug.cgi?id=176471

Reviewed by Brent Fulgham.

This assert failure is possibly caused by different time resolution on
various platforms.

* Scripts/webkitpy/common/timeout_context_unittest.py:
(TimeoutContextTests.test_timeout_data):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (221699 => 221700)


--- trunk/Tools/ChangeLog	2017-09-06 20:40:01 UTC (rev 221699)
+++ trunk/Tools/ChangeLog	2017-09-06 20:48:01 UTC (rev 221700)
@@ -1,3 +1,16 @@
+2017-09-06  Per Arne Vollan  <[email protected]>
+
+        [Win] test-webkitpy test timeout_context_unittest is failing.
+        https://bugs.webkit.org/show_bug.cgi?id=176471
+
+        Reviewed by Brent Fulgham.
+
+        This assert failure is possibly caused by different time resolution on
+        various platforms.
+ 
+        * Scripts/webkitpy/common/timeout_context_unittest.py:
+        (TimeoutContextTests.test_timeout_data):
+
 2017-09-06  Aakash Jain  <[email protected]>
 
         status-bubbles turn orange after checking relevance of patch

Modified: trunk/Tools/Scripts/webkitpy/common/timeout_context_unittest.py (221699 => 221700)


--- trunk/Tools/Scripts/webkitpy/common/timeout_context_unittest.py	2017-09-06 20:40:01 UTC (rev 221699)
+++ trunk/Tools/Scripts/webkitpy/common/timeout_context_unittest.py	2017-09-06 20:48:01 UTC (rev 221700)
@@ -44,7 +44,7 @@
         with tmp:
             self.assertNotEqual(None, tmp.data)
             self.assertEqual(threading.current_thread().ident, tmp.data.thread_id)
-            self.assertGreater(time.time() + 1, tmp.data.alarm_time)
+            self.assertTrue(time.time() + 1 >= tmp.data.alarm_time)
         self.assertEqual(None, tmp.data)
 
     def test_nested_inner_precedence(self):
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to