WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
176736
[iOS WK2] ExternalSourceDataTransferItemGetAsEntry tests produce inconsistent results on test automation bots
https://bugs.webkit.org/show_bug.cgi?id=176736
Summary
[iOS WK2] ExternalSourceDataTransferItemGetAsEntry tests produce inconsistent...
Wenson Hsieh
Reported
2017-09-11 14:22:05 PDT
These tests are failing on the bots, since the order in which files are read and appear is different from the order observed locally on my machine. Instead, these tests should be tweaked so they don't spit out FileSystemEntry output in arbitrary order.
Attachments
Patch
(4.86 KB, patch)
2017-09-11 14:27 PDT
,
Wenson Hsieh
aestes
: review+
Details
Formatted Diff
Diff
Patch for landing
(5.18 KB, patch)
2017-09-11 15:52 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2017-09-11 14:27:41 PDT
Created
attachment 320479
[details]
Patch
Megan Gardner
Comment 2
2017-09-11 15:01:43 PDT
Comment on
attachment 320479
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=320479&action=review
Good fix, just make sure that what you're testing against is also guaranteed to be in alphabetical order. then r=me. Not sure if you need a WK2 review as well.
> Tools/TestWebKitAPI/Tests/ios/DataInteractionTests.mm:966 > ];
I don't see that this list is sorted again in code. Can you either do that and/or make a comment that these are expected to be in alphabetical order?
Wenson Hsieh
Comment 3
2017-09-11 15:06:57 PDT
Comment on
attachment 320479
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=320479&action=review
>> Tools/TestWebKitAPI/Tests/ios/DataInteractionTests.mm:966 >> ]; > > I don't see that this list is sorted again in code. Can you either do that and/or make a comment that these are expected to be in alphabetical order?
I don't think sorting this test expectation is really needed, since it's hard-coded anyways to be in alphabetical order...I'll add a comment to make this more apparent, though.
Wenson Hsieh
Comment 4
2017-09-11 15:52:06 PDT
Created
attachment 320493
[details]
Patch for landing
WebKit Commit Bot
Comment 5
2017-09-11 16:34:07 PDT
Comment on
attachment 320493
[details]
Patch for landing Clearing flags on attachment: 320493 Committed
r221893
: <
http://trac.webkit.org/changeset/221893
>
Radar WebKit Bug Importer
Comment 6
2017-09-27 13:01:24 PDT
<
rdar://problem/34694490
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug