Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 81d0d71c7efa6a94a80ffe93bdbea89c8b3314e0
      
https://github.com/WebKit/WebKit/commit/81d0d71c7efa6a94a80ffe93bdbea89c8b3314e0
  Author: Fujii Hironori <[email protected]>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M 
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/file_lock_unittest.py

  Log Message:
  -----------
  webkitcorepy.tests.file_lock_unittest.FileLockTestCase.test_locked_timeout is 
randomly failing
https://bugs.webkit.org/show_bug.cgi?id=249608

Reviewed by Jonathan Bedard.

test_locked_timeout was randomly failing because it compared two time
values by truncating fraction parts. For example, two time values
53.99 and 54.00 are enough close, but don't match in the comparison.

* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/file_lock_unittest.py:
(FileLockTestCase.test_locked_timeout):
Use assertAlmostEqual to compare time values.

Canonical link: https://commits.webkit.org/258154@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to