Changeset 242188 in webkit


Ignore:
Timestamp:
Feb 27, 2019 7:42:46 PM (5 years ago)
Author:
youenn@apple.com
Message:

Flaky API Test: TestWebKitAPI.ServiceWorkers.ServiceWorkerAndCacheStorageSpecificDirectories
https://bugs.webkit.org/show_bug.cgi?id=194959

Reviewed by Chris Dumez.

Spin loop until getting the condition to remove flakiness.

  • TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r242185 r242188  
     12019-02-27  Youenn Fablet  <youenn@apple.com>
     2
     3        Flaky API Test: TestWebKitAPI.ServiceWorkers.ServiceWorkerAndCacheStorageSpecificDirectories
     4        https://bugs.webkit.org/show_bug.cgi?id=194959
     5
     6        Reviewed by Chris Dumez.
     7
     8        Spin loop until getting the condition to remove flakiness.
     9
     10        * TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:
     11
    1122019-02-27  Aakash Jain  <aakash_jain@apple.com>
    213
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm

    r240363 r242188  
    13731373    TestWebKitAPI::Util::run(&done);
    13741374    done = false;
    1375     EXPECT_TRUE([websiteDataStore _hasRegisteredServiceWorker]);
     1375    while (![websiteDataStore _hasRegisteredServiceWorker])
     1376        TestWebKitAPI::Util::spinRunLoop(0.1);
    13761377
    13771378    webView = adoptNS([[WKWebView alloc] initWithFrame:NSMakeRect(0, 0, 800, 600) configuration:configuration.get()]);
Note: See TracChangeset for help on using the changeset viewer.