Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Fix Test Failures Caused by Pollution Between Test Cases#2935

Merged
Adlai-Holler merged 1 commit intomasterfrom
AHFixTestIssues
Jan 25, 2017
Merged

Fix Test Failures Caused by Pollution Between Test Cases#2935
Adlai-Holler merged 1 commit intomasterfrom
AHFixTestIssues

Conversation

@Adlai-Holler
Copy link
Copy Markdown
Contributor

Our collection view is not exception-safe, and this was increased by #2923 . In our collection view tests, windows pile up because the system retains them (animation delegates etc.), and when the device is rotated during some tests, the collection views that were killed by intentional exceptions in prior tests crash.

I tried waiting for the windows to die on their own – by a couple different methods – but no dice. This suffices to fix it.

@Adlai-Holler Adlai-Holler merged commit c0950e0 into master Jan 25, 2017
@Adlai-Holler Adlai-Holler deleted the AHFixTestIssues branch January 25, 2017 22:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants