Skip to content

Commit eb416db

Browse files
committed
Disable prod testing
1 parent 475b718 commit eb416db

File tree

1 file changed

+7
-0
lines changed
  • firebase-firestore/src/androidTest/java/com/google/firebase/firestore

1 file changed

+7
-0
lines changed

firebase-firestore/src/androidTest/java/com/google/firebase/firestore/CountTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,19 @@
3030
import androidx.test.ext.junit.runners.AndroidJUnit4;
3131
import com.google.firebase.firestore.testutil.IntegrationTestUtil;
3232
import org.junit.After;
33+
import org.junit.Before;
3334
import org.junit.Test;
3435
import org.junit.runner.RunWith;
3536

3637
@RunWith(AndroidJUnit4.class)
3738
public class CountTest {
3839

40+
@Before
41+
public void setUp() {
42+
// TODO(b/243368243): Remove this once backend is ready to support count.
43+
org.junit.Assume.assumeTrue(BuildConfig.USE_EMULATOR_FOR_TESTS);
44+
}
45+
3946
@After
4047
public void tearDown() {
4148
IntegrationTestUtil.tearDown();

0 commit comments

Comments
 (0)