This repository was archived by the owner on May 8, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-firestore/src/test/java/com/google/cloud/firestore/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919import static com .google .cloud .firestore .it .ITQueryTest .map ;
2020import static com .google .cloud .firestore .pipeline .expressions .Expression .*;
2121import static com .google .common .truth .Truth .assertThat ;
22- import static org .junit .Assume .assumeFalse ;
22+ import static org .junit .Assume .assumeTrue ;
2323
2424import com .google .cloud .firestore .CollectionReference ;
2525import com .google .cloud .firestore .GeoPoint ;
@@ -186,9 +186,10 @@ public void primeBackend() throws Exception {
186186
187187 @ Before
188188 public void setupRestaurantDocs () throws Exception {
189- assumeFalse (
190- "This test suite only runs against the Enterprise edition." ,
191- !getFirestoreEdition ().equals (FirestoreEdition .ENTERPRISE ));
189+ assumeTrue (
190+ "This test suite only runs against the Enterprise edition in Nightly." ,
191+ getFirestoreEdition ().equals (FirestoreEdition .ENTERPRISE )
192+ && "NIGHTLY" .equalsIgnoreCase (getTargetBackend ()));
192193
193194 restaurantsCollection = firestore .collection (COLLECTION_NAME );
194195
You can’t perform that action at this time.
0 commit comments