Skip to content

Commit b869115

Browse files
authored
Clean up test. The issue has already been fixed and we are now running integration test with actual server instead of hexa. (#2007)
1 parent b032ccc commit b869115

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Firestore/Example/Tests/Integration/API/FIRQueryTests.mm

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,6 @@ - (void)testQueriesFireFromCacheWhenOffline {
257257
querySnap = [self.eventAccumulator awaitEventWithName:@"offline event with isFromCache=YES"];
258258
XCTAssertEqual(querySnap.metadata.isFromCache, YES);
259259

260-
// TODO(b/70631617): There's currently a backend bug that prevents us from using a resume token
261-
// right away (against hexa at least). So we sleep. :-( :-( Anything over ~10ms seems to be
262-
// sufficient.
263-
[NSThread sleepForTimeInterval:0.2f];
264-
265260
[self enableNetwork];
266261
querySnap = [self.eventAccumulator awaitEventWithName:@"back online event with isFromCache=NO"];
267262
XCTAssertEqual(querySnap.metadata.isFromCache, NO);

0 commit comments

Comments
 (0)