File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Firestore/Example/Tests/Integration/API Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -123,13 +123,8 @@ - (void)verifyTimestampsInSnapshot:(FIRDocumentSnapshot *)snapshot
123123
124124/* * Verifies a snapshot containing _setData but with resolved server timestamps. */
125125- (void )verifySnapshotWithResolvedTimestamps : (FIRDocumentSnapshot *)snapshot {
126- // Tolerate up to 10 seconds of clock skew between client and server.
127- NSInteger tolerance = 10 ;
128-
129- // Somehow the skew is much worse in nightly
130- if ([self .db.settings.host isEqualToString: @" test-firestore.sandbox.googleapis.com" ]) {
131- tolerance = 200 ;
132- }
126+ // Tolerate up to 200 seconds of clock skew between client and server.
127+ NSInteger tolerance = 200 ;
133128
134129 XCTAssertTrue (snapshot.exists );
135130 FIRTimestamp *when = snapshot[@" when" ];
You can’t perform that action at this time.
0 commit comments