Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit 2e4cdf0

Browse files
committed
Skip search tests on Standard edition
1 parent b002ceb commit 2e4cdf0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITPipelineSearchTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import static com.google.cloud.firestore.pipeline.expressions.Expression.score;
2828
import static com.google.cloud.firestore.pipeline.expressions.Expression.snippet;
2929
import static com.google.common.truth.Truth.assertThat;
30+
import static org.junit.Assume.assumeFalse;
3031

3132
import com.google.cloud.firestore.CollectionReference;
3233
import 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

0 commit comments

Comments
 (0)