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 2727import static com .google .cloud .firestore .pipeline .expressions .Expression .score ;
2828import static com .google .cloud .firestore .pipeline .expressions .Expression .snippet ;
2929import static com .google .common .truth .Truth .assertThat ;
30+ import static org .junit .Assume .assumeFalse ;
3031
3132import com .google .cloud .firestore .CollectionReference ;
3233import com .google .cloud .firestore .GeoPoint ;
@@ -138,11 +139,15 @@ public class ITPipelineSearchTest extends ITBaseTest {
138139
139140 @ Override
140141 public void primeBackend () throws Exception {
141- // Disable priming as it uses Watch/Listen, which is not supported by the 'enterprise' database.
142+ // Disable priming as it uses Watch/Listen
142143 }
143144
144145 @ Before
145146 public void setupRestaurantDocs () throws Exception {
147+ assumeFalse (
148+ "This test suite only runs against the Enterprise edition." ,
149+ !getFirestoreEdition ().equals (FirestoreEdition .ENTERPRISE ));
150+
146151 restaurantsCollection =
147152 firestore .collection ("SearchIntegrationTests-" + LocalFirestoreHelper .autoId ());
148153
You can’t perform that action at this time.
0 commit comments