@@ -2323,15 +2323,11 @@ describe.skipClassic('Query and Pipeline Compare - Enterprise DB', () => {
23232323 'doc10' ,
23242324 ] ;
23252325
2326- const originalQuery = collection . where ( 'sort' , '>' , 1 ) ;
2327- const originalSnapshot = await originalQuery . get ( ) ;
2328- const originalResult = originalSnapshot . docs . map ( d => d . id ) ;
2329-
2330- // In Enterprise, the order might not be strictly deterministic without implicit order by
2331- // unless it's Standard edition. Standard Edition always has implicit order by.
2332- // This test is intended to run against Enterprise where possible.
2333- // If it's Standard, originalResult will be equal to expectedOrder.
2334- // If it's Enterprise, it might not be.
2326+ // TODO: This test should run against both standard and enterprise
2327+ // and verify the results respectively
2328+ // const originalQuery = collection.where('sort', '>', 1);
2329+ // const originalSnapshot = await originalQuery.get();
2330+ // const originalResult = originalSnapshot.docs.map(d => d.id);
23352331
23362332 const modifiedFirestore = new Firestore ( {
23372333 ...firestore . settings ,
@@ -2344,13 +2340,6 @@ describe.skipClassic('Query and Pipeline Compare - Enterprise DB', () => {
23442340
23452341 // since alwaysUseImplicitOrderBy is true, we expect strict ordering.
23462342 expect ( result ) . to . deep . equal ( expectedOrder ) ;
2347-
2348- if ( originalResult . length === expectedOrder . length ) {
2349- // We can't easily check if it's Enterprise vs Standard from within the test
2350- // without more setup, but we can at least verify that our new option
2351- // produces the expected deterministic result.
2352- expect ( result ) . to . have . members ( originalResult ) ;
2353- }
23542343 } ) ;
23552344 } ) ;
23562345} ) ;
0 commit comments