Skip to content

Commit

Permalink
Fix Java Dataflow PostCommit (apache#26738)
Browse files Browse the repository at this point in the history
* Revert "Disable FIrestore integration test in Dataflow PostCommits (apache#26060)"

This reverts commit 6aca49d.

* Fix PostCommit

* fix spotless
  • Loading branch information
Abacn authored and cushon committed May 24, 2024
1 parent 34cb39b commit dcb59aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions runners/google-cloud-dataflow-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,6 @@ task googleCloudPlatformLegacyWorkerIntegrationTest(type: Test, dependsOn: copyG
exclude '**/PubsubReadIT.class'
exclude '**/FhirIOReadIT.class'
exclude '**/gcp/spanner/changestreams/it/*.class'
// TODO(https://github.com/apache/beam/issues/25851) failing due to internal Firestore breaking change
exclude '**/FirestoreV1IT.class'

maxParallelForks 4
classpath = configurations.googleCloudPlatformIntegrationTest
testClassesDirs = files(project(":sdks:java:io:google-cloud-platform").sourceSets.test.output.classesDirs)
Expand Down Expand Up @@ -608,8 +605,6 @@ task googleCloudPlatformRunnerV2IntegrationTest(type: Test) {
exclude '**/FhirIOLROIT.class'
exclude '**/FhirIOSearchIT.class'
exclude '**/FhirIOPatientEverythingIT.class'
// TODO(https://github.com/apache/beam/issues/25851) failing due to internal Firestore breaking change
exclude '**/FirestoreV1IT.class'

maxParallelForks 4
classpath = configurations.googleCloudPlatformIntegrationTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.util.concurrent.MoreExecutors;
import org.joda.time.Instant;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
Expand Down Expand Up @@ -185,6 +186,8 @@ public final void listCollections() throws Exception {
}

@Test
@Ignore(
"https://github.com/apache/beam/issues/25851 failing due to internal Firestore breaking change")
public final void listDocuments() throws Exception {
DocumentGenerator documentGenerator = helper.documentGenerator(NUM_ITEMS_TO_GENERATE, "a");
Instant readTime =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
import org.joda.time.Duration;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
Expand Down Expand Up @@ -189,6 +190,7 @@ public void testRead() throws Exception {
}

@Test
@Ignore("https://github.com/apache/beam/issues/26208 Test stuck indefinitely")
public void testReadWithDataBoost() throws Exception {

SpannerConfig spannerConfig = createSpannerConfig();
Expand Down

0 comments on commit dcb59aa

Please sign in to comment.