From bc9dedc2770cfa7a5a88184d234a3a832093a785 Mon Sep 17 00:00:00 2001 From: AnkitCLI Date: Fri, 6 Dec 2024 16:18:12 +0530 Subject: [PATCH] GcsCreate cloudbuild fixes --- src/e2e-test/features/gcscreate/GCSCreate.feature | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/e2e-test/features/gcscreate/GCSCreate.feature b/src/e2e-test/features/gcscreate/GCSCreate.feature index 9356764822..6fdae44a31 100644 --- a/src/e2e-test/features/gcscreate/GCSCreate.feature +++ b/src/e2e-test/features/gcscreate/GCSCreate.feature @@ -40,8 +40,10 @@ Feature: GCSCreate - Verification of GCS Create plugin Then Wait till pipeline is in running state Then Verify the pipeline status is "Succeeded" Then Run the Pipeline in Runtime - Then Wait till pipeline is in running state + Then Wait for pipeline to be in status: "Failed" with a timeout of 240 seconds + Then Open and capture logs Then Verify the pipeline status is "Failed" + Then Close the pipeline logs @GCS_CSV_TEST @GCSCreate_Required Scenario: Verify the pipeline with GCSCreate should not fail on second run when fail if objects exists is false @@ -60,5 +62,7 @@ Feature: GCSCreate - Verification of GCS Create plugin Then Wait till pipeline is in running state Then Verify the pipeline status is "Succeeded" Then Run the Pipeline in Runtime - Then Wait till pipeline is in running state - Then Verify the pipeline status is "Succeeded" \ No newline at end of file + Then Wait for pipeline to be in status: "Succeeded" with a timeout of 240 seconds + Then Open and capture logs + Then Verify the pipeline status is "Failed" + Then Close the pipeline logs