Bug 158305 - LayoutTests time out intermittently due to alert about reopening Simulator after it unexpectedly quit
Summary: LayoutTests time out intermittently due to alert about reopening Simulator af...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-02 10:55 PDT by Aakash Jain
Modified: 2016-06-02 11:41 PDT (History)
6 users (show)

See Also:


Attachments
Proposed patch (1.57 KB, patch)
2016-06-02 11:00 PDT, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2016-06-02 10:55:30 PDT
While launching iOS Simulators during run-webkit-tests, sometimes we notice this alert:
“The last time you opened Simulator, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?”

Due to this automated tests fails to start. We should either handle this alert or prevent this from happening.

See <rdar://problem/26556310>
Comment 1 Aakash Jain 2016-06-02 11:00:23 PDT
Created attachment 280341 [details]
Proposed patch

State from previous runs are kept in "~/Library/Saved Application State/com.apple.iphonesimulator*.savedstate” folder. Removing this data makes the current run independent of the state in previous run.
Comment 2 WebKit Commit Bot 2016-06-02 11:41:23 PDT
Comment on attachment 280341 [details]
Proposed patch

Clearing flags on attachment: 280341

Committed r201606: <http://trac.webkit.org/changeset/201606>
Comment 3 WebKit Commit Bot 2016-06-02 11:41:27 PDT
All reviewed patches have been landed.  Closing bug.