Title: [242188] trunk/Tools
- Revision
- 242188
- Author
- [email protected]
- Date
- 2019-02-27 19:42:46 -0800 (Wed, 27 Feb 2019)
Log 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:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (242187 => 242188)
--- trunk/Tools/ChangeLog 2019-02-28 02:37:55 UTC (rev 242187)
+++ trunk/Tools/ChangeLog 2019-02-28 03:42:46 UTC (rev 242188)
@@ -1,3 +1,14 @@
+2019-02-27 Youenn Fablet <[email protected]>
+
+ 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:
+
2019-02-27 Aakash Jain <[email protected]>
[ews-build] Buildbot should include builder_display_name in the build events
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm (242187 => 242188)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm 2019-02-28 02:37:55 UTC (rev 242187)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm 2019-02-28 03:42:46 UTC (rev 242188)
@@ -1372,7 +1372,8 @@
[webView loadRequest:request];
TestWebKitAPI::Util::run(&done);
done = false;
- EXPECT_TRUE([websiteDataStore _hasRegisteredServiceWorker]);
+ while (![websiteDataStore _hasRegisteredServiceWorker])
+ TestWebKitAPI::Util::spinRunLoop(0.1);
webView = adoptNS([[WKWebView alloc] initWithFrame:NSMakeRect(0, 0, 800, 600) configuration:configuration.get()]);
request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"sw://host/regularPageGrabbingCacheStorageDirectory.html"]];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes