diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITQueryCountTest.java b/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITQueryCountTest.java index 86f0ab3fb5..2b22c55624 100644 --- a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITQueryCountTest.java +++ b/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITQueryCountTest.java @@ -20,7 +20,6 @@ import static com.google.common.truth.Truth.assertThat; import static java.util.Collections.singletonMap; import static org.junit.Assert.assertThrows; -import static org.junit.Assume.assumeFalse; import static org.junit.Assume.assumeTrue; import com.google.api.core.ApiFuture; @@ -300,16 +299,6 @@ public void aggregateQueryInATransactionShouldRespectReadTime() throws Exception .build()); Long transactionCount = transactionFuture.get(); - - // Put this assumption as close to the end of this method as possible, so that at least the code - // above can be _executed_, even if we end up skipping the assertThat() check below. - assumeFalse( - "Snapshot reads are not yet implemented in the Firestore emulator (b/220918135). " - + "As a result, this test will fail when run against the Firestore emulator " - + "because it will incorrectly ignore the read time and return the count " - + "of the documents at the current time.", - isRunningAgainstFirestoreEmulator()); - assertThat(transactionCount).isEqualTo(5); }