Skip to content

Commit 5e37beb

Browse files
authored
Attempt to fix frequent Auth Unit Test flake on OSX (#2017)
1 parent f54b981 commit 5e37beb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Example/Auth/Tests/FIRAuthDispatcherTests.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@brief The maximum difference between time intervals (in seconds), after which they will be
2323
considered different.
2424
*/
25-
static const NSTimeInterval kMaxDifferenceBetweenTimeIntervals = 0.1;
25+
static const NSTimeInterval kMaxDifferenceBetweenTimeIntervals = 0.3;
2626

2727
/** @var kTestDelay
2828
@brief Fake time delay before tasks are dispatched.
@@ -32,7 +32,7 @@
3232
/** @var kExpectationTimeout
3333
@brief The maximum time waiting for expectations to fulfill.
3434
*/
35-
static const NSTimeInterval kExpectationTimeout = 3;
35+
static const NSTimeInterval kExpectationTimeout = 2;
3636

3737
id<OS_dispatch_queue> testWorkQueue;
3838

0 commit comments

Comments
 (0)