Bug 225429 - Fix potential races in AppleLanguagesTest.UpdateAppleLanguages API test
Summary: Fix potential races in AppleLanguagesTest.UpdateAppleLanguages API test
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-05 18:40 PDT by Chris Dumez
Modified: 2021-05-10 09:39 PDT (History)
6 users (show)

See Also:


Attachments
Patch (3.32 KB, patch)
2021-05-05 18:45 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (5.29 KB, patch)
2021-05-05 19:19 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (5.48 KB, patch)
2021-05-05 19:22 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (7.72 KB, patch)
2021-05-05 19:45 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (8.41 KB, patch)
2021-05-05 20:17 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (8.40 KB, patch)
2021-05-10 08:38 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-05-05 18:40:36 PDT
Fix potential race in AppleLanguagesTest.UpdateAppleLanguages API test.
Comment 1 Chris Dumez 2021-05-05 18:45:36 PDT
Created attachment 427837 [details]
Patch
Comment 2 Chris Dumez 2021-05-05 19:19:18 PDT
Created attachment 427839 [details]
Patch
Comment 3 Chris Dumez 2021-05-05 19:22:20 PDT
Created attachment 427840 [details]
Patch
Comment 4 Chris Dumez 2021-05-05 19:45:19 PDT
Created attachment 427841 [details]
Patch
Comment 5 Chris Dumez 2021-05-05 20:17:53 PDT
Created attachment 427845 [details]
Patch
Comment 6 Alex Christensen 2021-05-05 20:24:29 PDT
Comment on attachment 427845 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=427845&action=review

> Tools/TestWebKitAPI/Tests/WebKit/OverrideAppleLanguagesPreference.mm:61
>  // FIXME: This test is currently disabled on Apple Silicon because it times out there (https://bugs.webkit.org/show_bug.cgi?id=222619).

Is it possible this is fixed too?
Comment 7 Chris Dumez 2021-05-05 20:29:26 PDT
(In reply to Alex Christensen from comment #6)
> Comment on attachment 427845 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=427845&action=review
> 
> > Tools/TestWebKitAPI/Tests/WebKit/OverrideAppleLanguagesPreference.mm:61
> >  // FIXME: This test is currently disabled on Apple Silicon because it times out there (https://bugs.webkit.org/show_bug.cgi?id=222619).
> 
> Is it possible this is fixed too?

Well this is what I am trying to fix but so far no success.
Comment 8 Chris Dumez 2021-05-05 20:30:20 PDT
(In reply to Chris Dumez from comment #7)
> (In reply to Alex Christensen from comment #6)
> > Comment on attachment 427845 [details]
> > Patch
> > 
> > View in context:
> > https://bugs.webkit.org/attachment.cgi?id=427845&action=review
> > 
> > > Tools/TestWebKitAPI/Tests/WebKit/OverrideAppleLanguagesPreference.mm:61
> > >  // FIXME: This test is currently disabled on Apple Silicon because it times out there (https://bugs.webkit.org/show_bug.cgi?id=222619).
> > 
> > Is it possible this is fixed too?
> 
> Well this is what I am trying to fix but so far no success.

That is why I related the bugs but did not claim to have fixed the other one.
Comment 9 Chris Dumez 2021-05-10 08:38:00 PDT
Created attachment 428172 [details]
Patch
Comment 10 EWS 2021-05-10 09:38:09 PDT
Committed r277267 (237534@main): <https://commits.webkit.org/237534@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 428172 [details].
Comment 11 Radar WebKit Bug Importer 2021-05-10 09:39:17 PDT
<rdar://problem/77752526>