Skip to content

Commit cea7479

Browse files
Fix: flakiness due to XCTestCase.wait
1 parent 6430e00 commit cea7479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/WordPressTest/Extensions/XCTestCase+Wait.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ extension XCTestCase {
77
waitExpectation.fulfill()
88
}
99

10-
waitForExpectations(timeout: duration)
10+
waitForExpectations(timeout: duration + 1)
1111
}
1212
}

0 commit comments

Comments
 (0)