From 31917f566c0e5d5e1e2f4361cbc2a9f280c6aa5d Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Fri, 8 Dec 2017 11:27:49 -0800 Subject: Double auth unit test timeout to address travis flakiness (#548) --- Example/Auth/Tests/FIRAuthAPNSTokenManagerTests.m | 2 +- Example/Auth/Tests/FIRAuthDispatcherTests.m | 2 +- Example/Auth/Tests/FIRAuthTests.m | 2 +- Example/Auth/Tests/FIRAuthURLPresenterTests.m | 2 +- Example/Auth/Tests/FIRPhoneAuthProviderTests.m | 2 +- Example/Auth/Tests/FIRUserTests.m | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Example/Auth') diff --git a/Example/Auth/Tests/FIRAuthAPNSTokenManagerTests.m b/Example/Auth/Tests/FIRAuthAPNSTokenManagerTests.m index 68e8bcf..79ffb7a 100644 --- a/Example/Auth/Tests/FIRAuthAPNSTokenManagerTests.m +++ b/Example/Auth/Tests/FIRAuthAPNSTokenManagerTests.m @@ -31,7 +31,7 @@ static const NSTimeInterval kRegistrationTimeout = .5; @brief The test expectation timeout. @remarks This must be considerably greater than @c kVerificationTimeout . */ -static const NSTimeInterval kExpectationTimeout = 1; +static const NSTimeInterval kExpectationTimeout = 2; /** @class FIRAuthLegacyUIApplication @brief A fake legacy (< iOS 7) UIApplication class. diff --git a/Example/Auth/Tests/FIRAuthDispatcherTests.m b/Example/Auth/Tests/FIRAuthDispatcherTests.m index fc8cab1..193be4c 100644 --- a/Example/Auth/Tests/FIRAuthDispatcherTests.m +++ b/Example/Auth/Tests/FIRAuthDispatcherTests.m @@ -32,7 +32,7 @@ NSTimeInterval kTestDelay = 0.1; /** @var kExpectationTimeout @brief The maximum time waiting for expectations to fulfill. */ -static const NSTimeInterval kExpectationTimeout = 1; +static const NSTimeInterval kExpectationTimeout = 2; id testWorkQueue; diff --git a/Example/Auth/Tests/FIRAuthTests.m b/Example/Auth/Tests/FIRAuthTests.m index 80a9ae9..6391b08 100644 --- a/Example/Auth/Tests/FIRAuthTests.m +++ b/Example/Auth/Tests/FIRAuthTests.m @@ -170,7 +170,7 @@ static NSString *const kVerificationID = @"55432"; /** @var kExpectationTimeout @brief The maximum time waiting for expectations to fulfill. */ -static const NSTimeInterval kExpectationTimeout = 1; +static const NSTimeInterval kExpectationTimeout = 2; /** @var kWaitInterval @brief The time waiting for background tasks to finish before continue when necessary. diff --git a/Example/Auth/Tests/FIRAuthURLPresenterTests.m b/Example/Auth/Tests/FIRAuthURLPresenterTests.m index fcc64e9..a4e6c53 100644 --- a/Example/Auth/Tests/FIRAuthURLPresenterTests.m +++ b/Example/Auth/Tests/FIRAuthURLPresenterTests.m @@ -26,7 +26,7 @@ /** @var kExpectationTimeout @brief The maximum time waiting for expectations to fulfill. */ -static NSTimeInterval kExpectationTimeout = 1; +static NSTimeInterval kExpectationTimeout = 2; @interface FIRAuthDefaultUIDelegate : NSObject /** @fn defaultUIDelegate diff --git a/Example/Auth/Tests/FIRPhoneAuthProviderTests.m b/Example/Auth/Tests/FIRPhoneAuthProviderTests.m index c5f4ec7..0dc0b44 100644 --- a/Example/Auth/Tests/FIRPhoneAuthProviderTests.m +++ b/Example/Auth/Tests/FIRPhoneAuthProviderTests.m @@ -180,7 +180,7 @@ static const NSTimeInterval kTestTimeout = 5; /** @var kExpectationTimeout @brief The maximum time waiting for expectations to fulfill. */ -static const NSTimeInterval kExpectationTimeout = 1; +static const NSTimeInterval kExpectationTimeout = 2; /** @class FIRPhoneAuthProviderTests @brief Tests for @c FIRPhoneAuthProvider diff --git a/Example/Auth/Tests/FIRUserTests.m b/Example/Auth/Tests/FIRUserTests.m index c044e83..68ee265 100644 --- a/Example/Auth/Tests/FIRUserTests.m +++ b/Example/Auth/Tests/FIRUserTests.m @@ -231,7 +231,7 @@ static NSTimeInterval const kLastSignInDateTimeIntervalInSeconds = 1505858583; /** @var kExpectationTimeout @brief The maximum time waiting for expectations to fulfill. */ -static const NSTimeInterval kExpectationTimeout = 1; +static const NSTimeInterval kExpectationTimeout = 2; /** @class FIRUserTests @brief Tests for @c FIRUser . -- cgit v1.2.3