@@ -1664,17 +1664,14 @@ public void testSDKUsesNotEqualFiltersSameAsServer() {
1664
1664
"j" , map ("code" , 500L ));
1665
1665
CollectionReference collection = testCollectionWithDocs (testDocs );
1666
1666
1667
- // populate cache with all documents first to ensure getDocsFromCache() scans all docs
1668
- waitFor (testCollectionWithDocs (testDocs ).get ());
1669
-
1670
1667
Query query = collection .whereNotEqualTo ("zip" , 98101L );
1671
- checkOnlineAndOfflineResultsMatch (query , "a" , "b" , "d" , "e" , "f" , "g" , "h" );
1668
+ checkOnlineAndOfflineResultsMatch (collection , query , "a" , "b" , "d" , "e" , "f" , "g" , "h" );
1672
1669
1673
1670
query = collection .whereNotEqualTo ("zip" , Double .NaN );
1674
- checkOnlineAndOfflineResultsMatch (query , "b" , "c" , "d" , "e" , "f" , "g" , "h" );
1671
+ checkOnlineAndOfflineResultsMatch (collection , query , "b" , "c" , "d" , "e" , "f" , "g" , "h" );
1675
1672
1676
1673
query = collection .whereNotEqualTo ("zip" , null );
1677
- checkOnlineAndOfflineResultsMatch (query , "a" , "b" , "c" , "d" , "e" , "f" , "g" , "h" );
1674
+ checkOnlineAndOfflineResultsMatch (collection , query , "a" , "b" , "c" , "d" , "e" , "f" , "g" , "h" );
1678
1675
}
1679
1676
1680
1677
@ Test
@@ -1693,13 +1690,10 @@ public void testSDKUsesNotInFiltersSameAsServer() {
1693
1690
"j" , map ("code" , 500L ));
1694
1691
CollectionReference collection = testCollectionWithDocs (testDocs );
1695
1692
1696
- // populate cache with all documents first to ensure getDocsFromCache() scans all docs
1697
- waitFor (testCollectionWithDocs (testDocs ).get ());
1698
-
1699
1693
Query query = collection .whereNotIn ("zip" , asList (98101L , 98103L , asList (98101L , 98102L )));
1700
- checkOnlineAndOfflineResultsMatch (query , "a" , "b" , "d" , "e" , "g" , "h" );
1694
+ checkOnlineAndOfflineResultsMatch (collection , query , "a" , "b" , "d" , "e" , "g" , "h" );
1701
1695
1702
1696
query = collection .whereNotIn ("zip" , nullList ());
1703
- checkOnlineAndOfflineResultsMatch (query );
1697
+ checkOnlineAndOfflineResultsMatch (collection , query );
1704
1698
}
1705
1699
}
0 commit comments