From 36961b46b474593e67a035c1685f40bbfa6f19ae Mon Sep 17 00:00:00 2001 From: Jeff Kinard Date: Fri, 11 Oct 2024 14:07:56 -0400 Subject: [PATCH] Increase timeout for DataTypesIT#allTypesTest (#1930) Signed-off-by: Jeffrey Kinard --- .../cloud/teleport/v2/templates/postgresql/DataTypesIT.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v2/sourcedb-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/postgresql/DataTypesIT.java b/v2/sourcedb-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/postgresql/DataTypesIT.java index c3e995332a..221ff0803e 100644 --- a/v2/sourcedb-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/postgresql/DataTypesIT.java +++ b/v2/sourcedb-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/postgresql/DataTypesIT.java @@ -23,6 +23,7 @@ import com.google.cloud.teleport.metadata.TemplateIntegrationTest; import com.google.cloud.teleport.v2.templates.SourceDbToSpanner; import com.google.cloud.teleport.v2.templates.SourceDbToSpannerITBase; +import java.time.Duration; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -87,7 +88,8 @@ public void allTypesTest() throws Exception { spannerResourceManager, jobParameters, null); - PipelineOperator.Result result = pipelineOperator().waitUntilDone(createConfig(jobInfo)); + PipelineOperator.Result result = + pipelineOperator().waitUntilDone(createConfig(jobInfo, Duration.ofMinutes(30L))); assertThatResult(result).isLaunchFinished(); Map>> expectedData = getExpectedData();