Title: [293099] trunk/Tools
- Revision
- 293099
- Author
- [email protected]
- Date
- 2022-04-20 09:17:41 -0700 (Wed, 20 Apr 2022)
Log Message
[ Monterey Release arm64 ] TestWebKitAPI.ContentRuleList.ResourceTypes is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=239523
Patch by Alex Christensen <[email protected]> on 2022-04-20
Reviewed by Chris Dumez.
If the request count isn't the expected value, wait until it is.
* TestWebKitAPI/Tests/WebKitCocoa/ContentRuleListNotification.mm:
(TEST):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (293098 => 293099)
--- trunk/Tools/ChangeLog 2022-04-20 16:10:11 UTC (rev 293098)
+++ trunk/Tools/ChangeLog 2022-04-20 16:17:41 UTC (rev 293099)
@@ -1,3 +1,15 @@
+2022-04-20 Alex Christensen <[email protected]>
+
+ [ Monterey Release arm64 ] TestWebKitAPI.ContentRuleList.ResourceTypes is a flaky failure
+ https://bugs.webkit.org/show_bug.cgi?id=239523
+
+ Reviewed by Chris Dumez.
+
+ If the request count isn't the expected value, wait until it is.
+
+ * TestWebKitAPI/Tests/WebKitCocoa/ContentRuleListNotification.mm:
+ (TEST):
+
2022-04-19 Robert Jenner <[email protected]>
Bring up new iOS builders
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentRuleListNotification.mm (293098 => 293099)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentRuleListNotification.mm 2022-04-20 16:10:11 UTC (rev 293098)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentRuleListNotification.mm 2022-04-20 16:17:41 UTC (rev 293099)
@@ -277,11 +277,13 @@
});
[webView loadRequest:beaconServer.request()];
EXPECT_WK_STREQ([webView _test_waitForAlert], "fetch done");
- EXPECT_EQ(beaconServer.totalRequests(), 3u);
+ while (beaconServer.totalRequests() != 3)
+ Util::spinRunLoop();
[userContentController addContentRuleList:listWithResourceType("other").get()];
[webView reload];
EXPECT_WK_STREQ([webView _test_waitForAlert], "fetch done");
- EXPECT_EQ(beaconServer.totalRequests(), 5u);
+ while (beaconServer.totalRequests() != 5)
+ Util::spinRunLoop();
}
TEST(ContentRuleList, ThirdParty)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes