Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
XCTAssertEqualWithAccuracy failed: ("724781190.522143") is not equal to ("724781190.421201") +/- ("0.1")
  • Loading branch information
Kyle-Ye committed Dec 20, 2023
1 parent b170a67 commit 65e85a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ final class OperationQueueSchedulerTests: XCTestCase {
RunLoop.main.run(until: Date() + 0.05)
XCTAssertEqual(actualDate.timeIntervalSinceReferenceDate,
now.timeIntervalSinceReferenceDate,
accuracy: 0.1)
accuracy: 0.15)
}

func testScheduleActionOnceLaterWithTestQueue() {
Expand Down

0 comments on commit 65e85a0

Please sign in to comment.