Skip to content

Commit cfa1aa6

Browse files
committed
Remove unnecessary waiting MediaCoordinatorTests
1 parent 00b1656 commit cfa1aa6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

WordPress/WordPressTest/Services/MediaCoordinatorTests.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ class MediaCoordinatorTests: XCTestCase {
2020

2121
override func tearDown() {
2222
super.tearDown()
23-
// Make sure the DispatchQueue.async calls made in
24-
// `MediaCoordinator.notifyObserversForMedia` are executed before tests
25-
// finish. The async calls may cause crash if they are executed outside
26-
// of this test case, since they use the Core Data stack created in
27-
// `setUp` function above.
28-
wait(for: 0.3)
2923
contextManager.tearDown()
3024
coordinator = nil
3125
}

0 commit comments

Comments
 (0)