Changeset 251996 in webkit
- Timestamp:
- Nov 4, 2019 9:50:36 AM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r251995 r251996 1 2019-11-04 Alex Christensen <achristensen@webkit.org> 2 3 Flaky API Test TestWebKitAPI.WebKit.UploadDirectory 4 https://bugs.webkit.org/show_bug.cgi?id=203652 5 6 Reviewed by Alexey Proskuryakov. 7 8 It is not important that the directory to upload does not exist before the test starts. 9 Make the test more robust to state left behind by previous iterations of this test by removing the check. 10 The important check in this test is the uploaded body size. 11 12 * TestWebKitAPI/Tests/WebKitCocoa/UploadDirectory.mm: 13 (TEST): 14 1 15 2019-11-04 Kate Cheney <katherine_cheney@apple.com> 2 16 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/UploadDirectory.mm
r248139 r251996 73 73 NSError *error = nil; 74 74 NSURL *directory = [NSURL fileURLWithPath:[NSTemporaryDirectory() stringByAppendingPathComponent:@"UploadDirectory"] isDirectory:YES]; 75 EXPECT_FALSE([fileManager fileExistsAtPath:directory.path]);75 [fileManager removeItemAtPath:directory.path error:nil]; 76 76 EXPECT_TRUE([fileManager createDirectoryAtURL:directory withIntermediateDirectories:YES attributes:nil error:&error]); 77 77 EXPECT_FALSE(error);
Note: See TracChangeset
for help on using the changeset viewer.