diff options
author | Michael Lehenbauer <mikelehen@gmail.com> | 2018-02-02 10:25:41 -0800 |
---|---|---|
committer | Gil <mcg@google.com> | 2018-02-02 10:25:41 -0800 |
commit | 13f572ea2c57e2cd4c9c2c7c1a7c3b7f338f9fdc (patch) | |
tree | 44699026c6a582d16c1f003199b41b15d350da0e /Firestore | |
parent | 47d81fdf658cc404aeccf0b408d463b8c3538a91 (diff) |
Increase expectation timeout to 25 seconds. (#744)
I'm doing this to:
1) Experimentally see if it improves the flakiness we've been seeing in the Query Conformance Tests.
2) Insulate us from the fact that GRPC seems to take a /minimum/ of 10 seconds to reconnect (at least in some cases) after a connection failure.
I've opened b/72864027 to revisit this in the future.
Diffstat (limited to 'Firestore')
-rw-r--r-- | Firestore/Example/Tests/Util/XCTestCase+Await.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Firestore/Example/Tests/Util/XCTestCase+Await.mm b/Firestore/Example/Tests/Util/XCTestCase+Await.mm index 7f4356c..a5fefc9 100644 --- a/Firestore/Example/Tests/Util/XCTestCase+Await.mm +++ b/Firestore/Example/Tests/Util/XCTestCase+Await.mm @@ -18,7 +18,9 @@ #import <Foundation/Foundation.h> -static const double kExpectationWaitSeconds = 10.0; +// TODO(b/72864027): Reduce this to 10 seconds again once we've resolved issues with Query +// Conformance Tests flakiness or gotten answers from GRPC about reconnect delays. +static const double kExpectationWaitSeconds = 25.0; @implementation XCTestCase (Await) |