Changeset 245323 in webkit
- Timestamp:
- May 15, 2019 8:00:09 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r245322 r245323 1 2019-05-15 Chris Dumez <cdumez@apple.com> 2 3 Flaky API Test: TestWebKitAPI.ProcessSwap.NumberOfCachedProcesses 4 https://bugs.webkit.org/show_bug.cgi?id=195102 5 <rdar://problem/48456786> 6 7 Reviewed by Alex Christensen. 8 9 Try to wait longer for the number of processes to reach the expected number 10 and before failing. 11 12 * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: 13 1 14 2019-05-15 Alex Christensen <achristensen@webkit.org> 2 15 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm
r245204 r245323 3511 3511 done = false; 3512 3512 3513 int timeout = 10 ;3514 while ( [processPool _webProcessCount] > (maxSuspendedPageCount + 2) && timeout > 0) {3513 int timeout = 100; 3514 while (([processPool _webProcessCount] > (maxSuspendedPageCount + 2) && [processPool _webProcessCountIgnoringPrewarmedAndCached] > (maxSuspendedPageCount + 1)) && timeout > 0) { 3515 3515 TestWebKitAPI::Util::sleep(0.1); 3516 3516 --timeout; … … 3527 3527 TestWebKitAPI::Util::run(&readyToContinue); 3528 3528 3529 timeout = 10 ;3529 timeout = 100; 3530 3530 while ([processPool _webProcessCount] > 1 && timeout > 0) { 3531 3531 TestWebKitAPI::Util::sleep(0.1);
Note: See TracChangeset
for help on using the changeset viewer.