Title: [287123] trunk/Tools
- Revision
- 287123
- Author
- wilan...@apple.com
- Date
- 2021-12-15 19:33:41 -0800 (Wed, 15 Dec 2021)
Log Message
TestWebKitAPI.PrivateClickMeasurement.MigrateWithDestinationToken is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=234335
<rdar://problem/86505218>
Unreviewed test gardening.
* TestWebKitAPI/Tests/WebKitCocoa/PrivateClickMeasurement.mm:
(cleanUp):
Made the function sleep-wait until the file is indeed deleted.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (287122 => 287123)
--- trunk/Tools/ChangeLog 2021-12-16 02:15:38 UTC (rev 287122)
+++ trunk/Tools/ChangeLog 2021-12-16 03:33:41 UTC (rev 287123)
@@ -1,3 +1,15 @@
+2021-12-15 John Wilander <wilan...@apple.com>
+
+ TestWebKitAPI.PrivateClickMeasurement.MigrateWithDestinationToken is a flaky failure
+ https://bugs.webkit.org/show_bug.cgi?id=234335
+ <rdar://problem/86505218>
+
+ Unreviewed test gardening.
+
+ * TestWebKitAPI/Tests/WebKitCocoa/PrivateClickMeasurement.mm:
+ (cleanUp):
+ Made the function sleep-wait until the file is indeed deleted.
+
2021-12-15 Jonathan Bedard <jbed...@apple.com>
[reporelaypy] Forward branches to alternate remote
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/PrivateClickMeasurement.mm (287122 => 287123)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/PrivateClickMeasurement.mm 2021-12-16 02:15:38 UTC (rev 287122)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/PrivateClickMeasurement.mm 2021-12-16 03:33:41 UTC (rev 287123)
@@ -316,6 +316,8 @@
NSFileManager *defaultFileManager = NSFileManager.defaultManager;
NSString *itpRoot = WKWebsiteDataStore.defaultDataStore._configuration._resourceLoadStatisticsDirectory.path;
[defaultFileManager removeItemAtPath:itpRoot error:nil];
+ while ([defaultFileManager fileExistsAtPath:itpRoot])
+ usleep(10000);
EXPECT_FALSE([defaultFileManager fileExistsAtPath:itpRoot]);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes