diff --git a/aiplatform/snippets/src/main/java/aiplatform/CreateDatasetTextSample.java b/aiplatform/snippets/src/main/java/aiplatform/CreateDatasetTextSample.java index bb4fa16fec2..f919467e930 100644 --- a/aiplatform/snippets/src/main/java/aiplatform/CreateDatasetTextSample.java +++ b/aiplatform/snippets/src/main/java/aiplatform/CreateDatasetTextSample.java @@ -68,7 +68,7 @@ static void createDatasetTextSample(String project, String datasetDisplayName) System.out.format("Operation name: %s\n", datasetFuture.getInitialFuture().get().getName()); System.out.println("Waiting for operation to finish..."); - Dataset datasetResponse = datasetFuture.get(120, TimeUnit.SECONDS); + Dataset datasetResponse = datasetFuture.get(180, TimeUnit.SECONDS); System.out.println("Create Text Dataset Response"); System.out.format("\tName: %s\n", datasetResponse.getName());