From 6e8f0934f05f0c9194d482fc8b272b52f9094021 Mon Sep 17 00:00:00 2001 From: AnkitCLI Date: Tue, 22 Oct 2024 14:05:43 +0530 Subject: [PATCH] debug --- .github/workflows/e2e.yml | 21 ++++++---- .../bigquery/sink/GCSToBigQuery.feature | 2 +- .../sink/GCSToBigQuery_WithMacro.feature | 2 +- .../source/BigQuerySourceError.feature | 4 +- .../bigqueryexecute/BQExecute.feature | 2 +- .../BQExecuteErrorScenarios.feature | 2 +- .../BQExecute_WithMacro.feature | 2 +- .../bigtable/BigTableToBigTable.feature | 2 +- .../features/datastore/runtime.feature | 2 +- .../features/gcs/sink/GCSSink.feature | 2 +- .../features/gcs/sink/GCSSinkError.feature | 2 +- .../gcs/source/GCSSourceError.feature | 2 +- .../gcs/source/GCSSourceToBigQuery.feature | 2 +- ...GCSSourceToBigQueryAdditionalTests.feature | 2 +- .../gcs/source/GCSToGCSAdditonalTests.feature | 2 +- .../source/GCSToGCS_withConnections.feature | 2 +- .../gcs/source/GCSourceSchema.feature | 12 +++--- src/e2e-test/features/gcscopy/GCSCopy.feature | 4 +- .../gcscopy/GCSCopyErrorScenarios.feature | 2 +- .../gcscopy/GCSCopy_WithMacro.feature | 2 +- .../features/gcscreate/GCSCreate.feature | 6 +-- .../gcscreate/GCSCreate_WithMacro.feature | 2 +- .../features/gcsdelete/GCSDelete.feature | 22 +++++------ .../gcsdelete/GCSDelete_WithMacro.feature | 4 +- .../gcsmove/GCSDoneFileMarker.feature | 6 +-- .../gcsmove/GCSMoveErrorScenarios.feature | 6 +-- .../gcsmove/GCSMove_WithMacro.feature | 4 +- .../features/pubsub/sink/BQToPubSub.feature | 2 +- .../features/pubsub/sink/GCSToPubSub.feature | 4 +- .../pubsub/sink/GCSToPubSub_WithMacro.feature | 4 +- .../sink/PubSubSinkErrorScnerios.feature | 4 +- .../features/spanner/sink/BQToSpanner.feature | 4 +- .../spanner/sink/GCSToSpanner.feature | 4 +- .../sink/SpannerSinkErrorScenarios.feature | 2 +- .../SpannerSourceErrorScenarios.feature | 2 +- .../spanner/source/SpannerToSpanner.feature | 2 +- .../SpannerToSpanner_Additional.feature | 2 +- .../source/SpannerToSpanner_WithMacro.feature | 2 +- .../SpannerToSpanner_withConnections.feature | 2 +- .../spanner/source/SpannertoBQ.feature | 2 +- .../spanner/source/SpannertoGCS.feature | 2 +- .../multitablerunner/RetryTestRunner.java | 37 ++++++++++++++++++ .../runners/sinkrunner/RetryTestRunner.java | 37 ++++++++++++++++++ .../runners/sourcerunner/RetryTestRunner.java | 37 ++++++++++++++++++ .../runner/RetryTestRunner.java | 38 +++++++++++++++++++ .../bigtable/runners/RetryTestRunner.java | 38 +++++++++++++++++++ .../runners/common/RetryTestRunner.java | 3 +- .../datastore/runner/RetryTestRunner.java | 38 +++++++++++++++++++ .../runners/sinkrunner/RetryTestRunner.java | 37 ++++++++++++++++++ .../runners/sourcerunner/RetryTestRunner.java | 37 ++++++++++++++++++ .../gcscopy/runners/RetryTestRunner.java | 37 ++++++++++++++++++ .../gcscreate/runners/RetryTestRunner.java | 37 ++++++++++++++++++ .../gcsdelete/runners/RetryTestRunner.java | 37 ++++++++++++++++++ .../gcsmove/runners/RetryTestRunner.java | 37 ++++++++++++++++++ .../runners/sinkrunner/RetryTestRunner.java | 37 ++++++++++++++++++ .../runners/sinkrunner/RetryTestRunner.java | 37 ++++++++++++++++++ .../runners/sourcerunner/RetryTestRunner.java | 37 ++++++++++++++++++ 57 files changed, 643 insertions(+), 79 deletions(-) create mode 100644 src/e2e-test/java/io/cdap/plugin/bigquery/runners/multitablerunner/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/bigquery/runners/sinkrunner/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/bigquery/runners/sourcerunner/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/bigqueryexecute/runner/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/bigtable/runners/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/datastore/runner/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/gcs/runners/sinkrunner/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/gcs/runners/sourcerunner/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/gcscopy/runners/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/gcscreate/runners/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/gcsdelete/runners/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/gcsmove/runners/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/pubsub/runners/sinkrunner/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/spanner/runners/sinkrunner/RetryTestRunner.java create mode 100644 src/e2e-test/java/io/cdap/plugin/spanner/runners/sourcerunner/RetryTestRunner.java diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index baf5abd334..f00ad828b0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -74,15 +74,20 @@ jobs: - name: Run all e2e tests if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || steps.filter.outputs.e2e-test == 'true' run: python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/TestRunner.java - # Step to check if there were failures and run retry runner if needed - - name: Check for Failed Tests and Run Retry Runner + # Step to check if there were failures and list contents of target directory for debugging + - name: List target directory contents for debugging + run: ls -al ./plugin/target + # Step to check if there were failures and run retry runner if needed + - name: Check for Failed Tests and Run Retry Test Runner if: always() # Always run this step to check for failures - run: if [ -f ./plugin/target/failed_scenarios.txt ]; then - echo "Found failed scenarios. Running retry tests." - python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/RetryTestRunner.java - else - echo "No failed scenarios found." - fi + run: | + echo "Checking for failed_scenarios.txt" + if [ -f ./plugin/target/failed_scenarios.txt ]; then + echo "Found failed scenarios. Running retry tests." + python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/RetryTestRunner.java + else + echo "No failed scenarios found." + fi - name: Upload debug files uses: actions/upload-artifact@v3 if: always() diff --git a/src/e2e-test/features/bigquery/sink/GCSToBigQuery.feature b/src/e2e-test/features/bigquery/sink/GCSToBigQuery.feature index e27929eb8b..89ff472961 100644 --- a/src/e2e-test/features/bigquery/sink/GCSToBigQuery.feature +++ b/src/e2e-test/features/bigquery/sink/GCSToBigQuery.feature @@ -57,7 +57,7 @@ Feature: BigQuery sink - Verification of GCS to BigQuery successful data transfe Then Enter BigQuery property reference name Then Enter BigQuery property projectId "projectId" Then Enter BigQuery property datasetProjectId "projectId" - Then Override Service account details if set in environment variables + Then Override Service account details if set in environment variablesss Then Enter BigQuery property dataset "dataset" Then Enter BigQuery sink property table name Then Toggle BigQuery sink property truncateTable to true diff --git a/src/e2e-test/features/bigquery/sink/GCSToBigQuery_WithMacro.feature b/src/e2e-test/features/bigquery/sink/GCSToBigQuery_WithMacro.feature index e4c2f5290b..bb0f0ba974 100644 --- a/src/e2e-test/features/bigquery/sink/GCSToBigQuery_WithMacro.feature +++ b/src/e2e-test/features/bigquery/sink/GCSToBigQuery_WithMacro.feature @@ -6,7 +6,7 @@ Feature: BigQuery sink - Verification of GCS to BigQuery successful data transfe Given Open Datafusion Project to configure pipeline When Source is GCS When Sink is BigQuery - Then Open GCS source properties + Then Open GCS source propertiess Then Enter GCS property reference name Then Enter GCS property "projectId" as macro argument "gcsProjectId" Then Enter GCS property "serviceAccountType" as macro argument "serviceAccountType" diff --git a/src/e2e-test/features/bigquery/source/BigQuerySourceError.feature b/src/e2e-test/features/bigquery/source/BigQuerySourceError.feature index eb475837ee..cadb4ae124 100644 --- a/src/e2e-test/features/bigquery/source/BigQuerySourceError.feature +++ b/src/e2e-test/features/bigquery/source/BigQuerySourceError.feature @@ -3,7 +3,7 @@ Feature: BigQuery source - Validate BigQuery source plugin error scenarios Scenario Outline:Verify BigQuery Source properties validation errors for mandatory fields Given Open Datafusion Project to configure pipeline - When Source is BigQuery + When Source is BigQuerys Then Open BigQuery source properties Then Enter the BigQuery properties with blank property "" Then Validate mandatory property error for "" @@ -29,7 +29,7 @@ Feature: BigQuery source - Validate BigQuery source plugin error scenarios Scenario Outline:Verify BigQuery Source properties validation errors for incorrect format of projectIds Given Open Datafusion Project to configure pipeline - When Source is BigQuery + When Source is BigQuerys Then Open BigQuery source properties Then Enter BigQuery property reference name Then Enter BigQuery property projectId "" diff --git a/src/e2e-test/features/bigqueryexecute/BQExecute.feature b/src/e2e-test/features/bigqueryexecute/BQExecute.feature index d5eb52df60..de0909947f 100644 --- a/src/e2e-test/features/bigqueryexecute/BQExecute.feature +++ b/src/e2e-test/features/bigqueryexecute/BQExecute.feature @@ -1,4 +1,4 @@ -@BQExecute +@BQExecutes Feature: BigQueryExecute - Verify data transfer using BigQuery Execute plugin @BQ_SOURCE_TEST @BQ_SINK_TEST @BQ_EXECUTE_SQL @BQExecute_Required diff --git a/src/e2e-test/features/bigqueryexecute/BQExecuteErrorScenarios.feature b/src/e2e-test/features/bigqueryexecute/BQExecuteErrorScenarios.feature index 4290709047..f63edddc40 100644 --- a/src/e2e-test/features/bigqueryexecute/BQExecuteErrorScenarios.feature +++ b/src/e2e-test/features/bigqueryexecute/BQExecuteErrorScenarios.feature @@ -1,4 +1,4 @@ -@BQExecute +@BQExecutes Feature: BigQueryExecute - Verify BigQueryExecute plugin error scenarios Scenario: Verify BigQueryExecute validation error for mandatory field SQL Query diff --git a/src/e2e-test/features/bigqueryexecute/BQExecute_WithMacro.feature b/src/e2e-test/features/bigqueryexecute/BQExecute_WithMacro.feature index 3a6d7331b4..e83fe88cbb 100644 --- a/src/e2e-test/features/bigqueryexecute/BQExecute_WithMacro.feature +++ b/src/e2e-test/features/bigqueryexecute/BQExecute_WithMacro.feature @@ -1,4 +1,4 @@ -@BQExecute +@BQExecutes Feature: BigQueryExecute - Verify data transfer using BigQuery Execute plugin with macro arguments @BQ_SOURCE_TEST @BQ_SINK_TEST @BQ_EXECUTE_SQL diff --git a/src/e2e-test/features/bigtable/BigTableToBigTable.feature b/src/e2e-test/features/bigtable/BigTableToBigTable.feature index b409713872..fa4b4903af 100644 --- a/src/e2e-test/features/bigtable/BigTableToBigTable.feature +++ b/src/e2e-test/features/bigtable/BigTableToBigTable.feature @@ -11,7 +11,7 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations under # the License. -@BigTable @BIGTABLE_SOURCE_TEST +@BigTables @BIGTABLE_SOURCE_TEST Feature: BigTable source - Verification of BigTable to BigTable Successful Data Transfer @BIGTABLE_SINK_TEST @bigtable_Required diff --git a/src/e2e-test/features/datastore/runtime.feature b/src/e2e-test/features/datastore/runtime.feature index 90a3cd2b1d..436e941534 100644 --- a/src/e2e-test/features/datastore/runtime.feature +++ b/src/e2e-test/features/datastore/runtime.feature @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations under # the License. -@DataStore +@DataStores Feature: DataStore - Verification of Datastore to Datastore Successful Data Transfer @DATASTORE_SOURCE_ENTITY @datastore_Required diff --git a/src/e2e-test/features/gcs/sink/GCSSink.feature b/src/e2e-test/features/gcs/sink/GCSSink.feature index 563a896e87..670f3ecf35 100644 --- a/src/e2e-test/features/gcs/sink/GCSSink.feature +++ b/src/e2e-test/features/gcs/sink/GCSSink.feature @@ -1,4 +1,4 @@ -@GCS_Sink +@GCS_Sinks Feature: GCS sink - Verification of GCS Sink plugin @CMEK @GCS_SINK_TEST @BQ_SOURCE_TEST diff --git a/src/e2e-test/features/gcs/sink/GCSSinkError.feature b/src/e2e-test/features/gcs/sink/GCSSinkError.feature index 0718136d4a..35db38371c 100644 --- a/src/e2e-test/features/gcs/sink/GCSSinkError.feature +++ b/src/e2e-test/features/gcs/sink/GCSSinkError.feature @@ -1,4 +1,4 @@ -@GCS_Sink +@GCS_Sinks Feature: GCS sink - Verify GCS Sink plugin error scenarios Scenario Outline:Verify GCS Sink properties validation errors for mandatory fields diff --git a/src/e2e-test/features/gcs/source/GCSSourceError.feature b/src/e2e-test/features/gcs/source/GCSSourceError.feature index c74f1d7c19..dd251bbc65 100644 --- a/src/e2e-test/features/gcs/source/GCSSourceError.feature +++ b/src/e2e-test/features/gcs/source/GCSSourceError.feature @@ -1,4 +1,4 @@ -@GCS_Source +@GCS_Sources Feature: GCS source - Verify GCS Source plugin error scenarios Scenario Outline:Verify GCS Source properties validation errors for mandatory fields diff --git a/src/e2e-test/features/gcs/source/GCSSourceToBigQuery.feature b/src/e2e-test/features/gcs/source/GCSSourceToBigQuery.feature index eebb3a1529..881eadaaa5 100644 --- a/src/e2e-test/features/gcs/source/GCSSourceToBigQuery.feature +++ b/src/e2e-test/features/gcs/source/GCSSourceToBigQuery.feature @@ -1,4 +1,4 @@ -@GCS_Source +@GCS_Sources Feature: GCS source - Verification of GCS to BQ successful data transfer @GCS_CSV_TEST @BQ_SINK_TEST diff --git a/src/e2e-test/features/gcs/source/GCSSourceToBigQueryAdditionalTests.feature b/src/e2e-test/features/gcs/source/GCSSourceToBigQueryAdditionalTests.feature index 20ec16a67f..88be7aaf5f 100644 --- a/src/e2e-test/features/gcs/source/GCSSourceToBigQueryAdditionalTests.feature +++ b/src/e2e-test/features/gcs/source/GCSSourceToBigQueryAdditionalTests.feature @@ -1,4 +1,4 @@ -@GCS_Source +@GCS_Sources Feature: GCS source - Verification of GCS to BQ successful data transfer @BQ_SINK_TEST @GCS_READ_RECURSIVE_TEST diff --git a/src/e2e-test/features/gcs/source/GCSToGCSAdditonalTests.feature b/src/e2e-test/features/gcs/source/GCSToGCSAdditonalTests.feature index 5381fd80ab..18cd811971 100644 --- a/src/e2e-test/features/gcs/source/GCSToGCSAdditonalTests.feature +++ b/src/e2e-test/features/gcs/source/GCSToGCSAdditonalTests.feature @@ -1,4 +1,4 @@ -@GCS_Source +@GCS_Sources Feature: GCS source - Verification of GCS to GCS Additional Tests successful @GCS_AVRO_FILE @GCS_SINK_TEST @GCS_Source_Required @ITN_TEST diff --git a/src/e2e-test/features/gcs/source/GCSToGCS_withConnections.feature b/src/e2e-test/features/gcs/source/GCSToGCS_withConnections.feature index 481b1ef2fa..dc52e8ca54 100644 --- a/src/e2e-test/features/gcs/source/GCSToGCS_withConnections.feature +++ b/src/e2e-test/features/gcs/source/GCSToGCS_withConnections.feature @@ -1,4 +1,4 @@ -@GCS_Source +@GCS_Sources Feature: GCS source - Verification of GCS to GCS successful data transfer using connections @GCS_CSV_TEST @GCS_SINK_TEST @GCS_CONNECTION diff --git a/src/e2e-test/features/gcs/source/GCSourceSchema.feature b/src/e2e-test/features/gcs/source/GCSourceSchema.feature index 17b6ee103c..e9464325a9 100644 --- a/src/e2e-test/features/gcs/source/GCSourceSchema.feature +++ b/src/e2e-test/features/gcs/source/GCSourceSchema.feature @@ -1,4 +1,4 @@ -@GCS_Source +@GCS_Sources Feature: GCS source - Validate GCS plugin output schema for different formats Scenario Outline:GCS Source output schema validation for csv and tsv format @@ -7,7 +7,7 @@ Feature: GCS source - Validate GCS plugin output schema for different formats Then Open GCS source properties Then Enter GCS property projectId and reference name Then Override Service account details if set in environment variables - Then Enter GCS source property path "" + Then Enter GCS source property path ""s Then Select GCS property format "" Then Toggle GCS source property skip header to true Then Validate output schema with expectedSchema "" @@ -28,7 +28,7 @@ Feature: GCS source - Validate GCS plugin output schema for different formats Then Enter GCS property projectId and reference name Then Override Service account details if set in environment variables Then Enter GCS source property path "" - Then Select GCS property format "" + Then Select GCS property format ""s Then Validate output schema with expectedSchema "" @GCS_BLOB_TEST Examples: @@ -52,7 +52,7 @@ Feature: GCS source - Validate GCS plugin output schema for different formats Given Open Datafusion Project to configure pipeline When Source is GCS Then Open GCS source properties - Then Enter GCS property projectId and reference name + Then Enter GCS property projectId and reference names Then Override Service account details if set in environment variables Then Enter GCS source property path "" Then Select GCS property format "" @@ -70,7 +70,7 @@ Feature: GCS source - Validate GCS plugin output schema for different formats Given Open Datafusion Project to configure pipeline When Source is GCS Then Open GCS source properties - Then Enter GCS property projectId and reference name + Then Enter GCS property projectId and reference names Then Override Service account details if set in environment variables Then Enter GCS source property path "gcsDelimitedFile" Then Select GCS property format "delimited" @@ -82,7 +82,7 @@ Feature: GCS source - Validate GCS plugin output schema for different formats Given Open Datafusion Project to configure pipeline When Source is GCS Then Open GCS source properties - Then Enter GCS property projectId and reference name + Then Enter GCS property projectId and reference names Then Enter GCS source property path "" Then Select GCS property format "" Then Toggle GCS source property skip header to true diff --git a/src/e2e-test/features/gcscopy/GCSCopy.feature b/src/e2e-test/features/gcscopy/GCSCopy.feature index 6d4614fcb2..11ea6b3902 100644 --- a/src/e2e-test/features/gcscopy/GCSCopy.feature +++ b/src/e2e-test/features/gcscopy/GCSCopy.feature @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations under # the License. -@GCSCopy +@GCSCopys Feature:GCSCopy - Verification of successful objects copy from one bucket to another @CMEK @GCS_CSV_TEST @GCS_SINK_TEST @GCSCopy_Required @ITN_TEST @@ -22,7 +22,7 @@ Feature:GCSCopy - Verification of successful objects copy from one bucket to ano When Select plugin: "GCS Copy" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Copy" And Replace input plugin property: "project" with value: "projectId" - And Enter GCSCopy property source path "gcsCsvFile" + And Enter GCSCopy property source path "gcsCsvFile"s And Enter GCSCopy property destination path Then Override Service account details if set in environment variables Then Enter GCSCopy property encryption key name "cmekGCS" if cmek is enabled diff --git a/src/e2e-test/features/gcscopy/GCSCopyErrorScenarios.feature b/src/e2e-test/features/gcscopy/GCSCopyErrorScenarios.feature index ffd6877602..99f24768fd 100644 --- a/src/e2e-test/features/gcscopy/GCSCopyErrorScenarios.feature +++ b/src/e2e-test/features/gcscopy/GCSCopyErrorScenarios.feature @@ -21,7 +21,7 @@ Feature: GCSCopy - Validate GCSCopy plugin error scenarios When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Copy" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Copy" - Then Click on the Validate button + Then Click on the Validate buttons Then Verify mandatory property error for below listed properties: | sourcePath | | destPath | diff --git a/src/e2e-test/features/gcscopy/GCSCopy_WithMacro.feature b/src/e2e-test/features/gcscopy/GCSCopy_WithMacro.feature index 4ffca46355..c3c124c00f 100644 --- a/src/e2e-test/features/gcscopy/GCSCopy_WithMacro.feature +++ b/src/e2e-test/features/gcscopy/GCSCopy_WithMacro.feature @@ -17,7 +17,7 @@ Feature:GCSCopy - Verification of successful objects copy from one bucket to ano @CMEK @GCS_CSV_TEST @GCS_SINK_TEST @GCSCopy_Required @ITN_TEST Scenario:Validate successful copy object from one bucket to another new bucket with macro arguments - Given Open Datafusion Project to configure pipeline + Given Open Datafusion Project to configure pipelines When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Copy" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Copy" diff --git a/src/e2e-test/features/gcscreate/GCSCreate.feature b/src/e2e-test/features/gcscreate/GCSCreate.feature index 9356764822..99fc80e947 100644 --- a/src/e2e-test/features/gcscreate/GCSCreate.feature +++ b/src/e2e-test/features/gcscreate/GCSCreate.feature @@ -15,7 +15,7 @@ Feature: GCSCreate - Verification of GCS Create plugin Then Enter GCSCreate property encryption key name "cmekGCS" if cmek is enabled Then Validate "GCS Create" plugin properties Then Close the GCS Create properties - Then Save and Deploy Pipeline + Then Save and Deploy Pipelines Then Run the Pipeline in Runtime Then Wait till pipeline is in running state Then Open and capture logs @@ -34,7 +34,7 @@ Feature: GCSCreate - Verification of GCS Create plugin Then Select GCS Create property fail if objects exists as "true" Then Override Service account details if set in environment variables Then Validate "GCS Create" plugin properties - Then Close the GCS Create properties + Then Close the GCS Create propertiess Then Save and Deploy Pipeline Then Run the Pipeline in Runtime Then Wait till pipeline is in running state @@ -55,7 +55,7 @@ Feature: GCSCreate - Verification of GCS Create plugin Then Override Service account details if set in environment variables Then Validate "GCS Create" plugin properties Then Close the GCS Create properties - Then Save and Deploy Pipeline + Then Save and Deploy Pipelines Then Run the Pipeline in Runtime Then Wait till pipeline is in running state Then Verify the pipeline status is "Succeeded" diff --git a/src/e2e-test/features/gcscreate/GCSCreate_WithMacro.feature b/src/e2e-test/features/gcscreate/GCSCreate_WithMacro.feature index 85a96862a0..e07f02c1cc 100644 --- a/src/e2e-test/features/gcscreate/GCSCreate_WithMacro.feature +++ b/src/e2e-test/features/gcscreate/GCSCreate_WithMacro.feature @@ -17,7 +17,7 @@ Feature: GCSCreate - Verification of GCS Create plugin with macro arguments Then Validate "GCS Create" plugin properties Then Close the GCS Create properties Then Save and Deploy Pipeline - Then Run the Pipeline in Runtime + Then Run the Pipeline in Runtimes Then Enter runtime argument value "projectId" for key "gcsCreateProjectId" Then Enter runtime argument value "gcsCreateObject1" for GCSCreate property key "gcsCreateObjectsToCreate" Then Enter runtime argument value "true" for GCSCreate property key "gcsCreateFailIfObjectExists" diff --git a/src/e2e-test/features/gcsdelete/GCSDelete.feature b/src/e2e-test/features/gcsdelete/GCSDelete.feature index 21db22f8ac..511cd43806 100644 --- a/src/e2e-test/features/gcsdelete/GCSDelete.feature +++ b/src/e2e-test/features/gcsdelete/GCSDelete.feature @@ -13,7 +13,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin Then Validate "GCS Delete" plugin properties Then Close the GCS Delete properties Then Save and Deploy Pipeline - Then Run the Pipeline in Runtime + Then Run the Pipeline in Runtimes Then Wait till pipeline is in running state Then Open and capture logs Then Verify the pipeline status is "Succeeded" @@ -26,7 +26,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin When Select plugin: "GCS Delete" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Delete" Then Enter the GCS Delete property projectId "projectId" - Then Enter the GCS Delete property objects to delete as path "gcsCsvFile" + Then Enter the GCS Delete property objects to delete ass path "gcsCsvFile" Then Override Service account details if set in environment variables Then Validate "GCS Delete" plugin properties Then Close the GCS Delete properties @@ -45,7 +45,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin When Navigate to the properties page of plugin: "GCS Delete" Then Enter the GCS Delete property projectId "projectId" Then Enter the GCS Delete property objects to delete as list of objects "gcsDeleteObjectsList" - Then Override Service account details if set in environment variables + Then Override Service account details isf set in environment variables Then Validate "GCS Delete" plugin properties Then Close the GCS Delete properties Then Save and Deploy Pipeline @@ -61,7 +61,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Delete" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Delete" - Then Enter the GCS Delete property projectId "projectId" + Then Enter the GCS Delete property projectId s"projectId" Then Enter the GCS Delete property objects to delete as path "gcsWildcardPath1" Then Override Service account details if set in environment variables Then Validate "GCS Delete" plugin properties @@ -81,7 +81,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin When Select plugin: "GCS Delete" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Delete" Then Enter the GCS Delete property projectId "projectId" - Then Enter the GCS Delete property objects to delete as path "gcsWildcardPath2" + Then Enter the GCS Delete property objectss to delete as path "gcsWildcardPath2" Then Override Service account details if set in environment variables Then Validate "GCS Delete" plugin properties Then Close the GCS Delete properties @@ -98,7 +98,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin Given Open Datafusion Project to configure pipeline When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Delete" from the plugins list as: "Conditions and Actions" - When Navigate to the properties page of plugin: "GCS Delete" + When Navigate to the properties pagse of plugin: "GCS Delete" Then Enter the GCS Delete property projectId "projectId" Then Enter the GCS Delete property objects to delete as path "gcsWildcardPath3" Then Override Service account details if set in environment variables @@ -116,7 +116,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin Scenario: Verify the GCS Delete successfully deletes file from multiple buckets Given Open Datafusion Project to configure pipeline When Expand Plugin group in the LHS plugins list: "Conditions and Actions" - When Select plugin: "GCS Delete" from the plugins list as: "Conditions and Actions" + When Select plugin: "GCS Delete" from sthe plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Delete" Then Enter the GCS Delete property projectId "projectId" Then Enter the GCS Delete property objects from multiple Buckets to delete as list of objects "gcsMultiBucketsPath1" @@ -133,10 +133,10 @@ Feature: GCS Delete - Verification of GCS Delete plugin @GCS_DELETE_MULTIPLE_BUCKETS_TEST Scenario: Verify the GCS Delete successfully deletes file from multiple buckets use wildcard - Given Open Datafusion Project to configure pipeline + Given Open Datafusion Project to consfigure pipeline When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Delete" from the plugins list as: "Conditions and Actions" - When Navigate to the properties page of plugin: "GCS Delete" + When Navigate to the propertises page of plugin: "GCS Delete" Then Enter the GCS Delete property projectId "projectId" Then Enter the GCS Delete property objects from multiple Buckets to delete as list of objects "gcsWildcardMultiBucketsPath1" Then Override Service account details if set in environment variables @@ -154,7 +154,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin Given Open Datafusion Project to configure pipeline When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Delete" from the plugins list as: "Conditions and Actions" - When Navigate to the properties page of plugin: "GCS Delete" + When Navigate to the properties pagse of plugin: "GCS Delete" Then Validate mandatory property error for "paths" Scenario:Verify GCS Delete properties validation error for incorrect bucket path @@ -162,6 +162,6 @@ Feature: GCS Delete - Verification of GCS Delete plugin When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Delete" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Delete" - Then Enter the GCS Delete property objects to delete as path "gcsInvalidBucketName" + Then Enter the GCS Delete property objectss to delete as path "gcsInvalidBucketName" Then Override Service account details if set in environment variables Then Verify invalid bucket name error message is displayed for GCS Delete objects to delete path "gcsInvalidBucketName" diff --git a/src/e2e-test/features/gcsdelete/GCSDelete_WithMacro.feature b/src/e2e-test/features/gcsdelete/GCSDelete_WithMacro.feature index 7d9622a6fc..cc31743793 100644 --- a/src/e2e-test/features/gcsdelete/GCSDelete_WithMacro.feature +++ b/src/e2e-test/features/gcsdelete/GCSDelete_WithMacro.feature @@ -8,7 +8,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin with macro arguments When Select plugin: "GCS Delete" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Delete" Then Enter the GCS Delete property "projectId" as macro argument "gcsDeleteProjectId" - Then Enter the GCS Delete property "objectsToDelete" as macro argument "gcsDeleteObjectsToDelete" + Then Enter thes GCS Delete property "objectsToDelete" as macro argument "gcsDeleteObjectsToDelete" Then Enter the GCS Delete property "serviceAccountType" as macro argument "serviceAccountType" Then Enter the GCS Delete property "serviceAccountFilePath" as macro argument "serviceAccount" Then Enter the GCS Delete property "serviceAccountJSON" as macro argument "serviceAccount" @@ -34,7 +34,7 @@ Feature: GCS Delete - Verification of GCS Delete plugin with macro arguments When Navigate to the properties page of plugin: "GCS Delete" Then Enter the GCS Delete property "projectId" as macro argument "gcsDeleteProjectId" Then Enter the GCS Delete property "objectsToDelete" as macro argument "gcsDeleteObjectsToDelete" - Then Enter the GCS Delete property "serviceAccountType" as macro argument "serviceAccountType" + Then Enter the GCS Dselete property "serviceAccountType" as macro argument "serviceAccountType" Then Enter the GCS Delete property "serviceAccountFilePath" as macro argument "serviceAccount" Then Enter the GCS Delete property "serviceAccountJSON" as macro argument "serviceAccount" Then Validate "GCS Delete" plugin properties diff --git a/src/e2e-test/features/gcsmove/GCSDoneFileMarker.feature b/src/e2e-test/features/gcsmove/GCSDoneFileMarker.feature index 500378b2fa..9ecccdb6d3 100644 --- a/src/e2e-test/features/gcsmove/GCSDoneFileMarker.feature +++ b/src/e2e-test/features/gcsmove/GCSDoneFileMarker.feature @@ -10,7 +10,7 @@ Feature:GCSDoneFileMarker - Validate GCSDoneFileMarker scenarios with GCSMove pi Then Enter GCSMove property projectId "projectId" Then Enter GCSMove property source path Then Enter GCSMove property destination path - Then Select GCSMove property move all subdirectories as "true" + Then Select GCSMove property move all subdisrectories as "true" Then Override Service account details if set in environment variables Then Validate "GCSMove" plugin properties Then Close GCSMove properties @@ -35,7 +35,7 @@ Feature:GCSDoneFileMarker - Validate GCSDoneFileMarker scenarios with GCSMove pi When Select plugin: "GCS Move" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Move" Then Enter GCSMove property projectId "projectId" - Then Enter input plugin property: "sourcePath" with value: "wrongSourcePath" + Then Enter input plugin property: "ssourcePath" with value: "wrongSourcePath" Then Enter GCSMove property destination path Then Select GCSMove property move all subdirectories as "true" Then Override Service account details if set in environment variables @@ -45,7 +45,7 @@ Feature:GCSDoneFileMarker - Validate GCSDoneFileMarker scenarios with GCSMove pi Then Open GCSDoneFileMarker to configure Then Enter GCSMove property projectId "projectId" Then Select GCSDoneFileMarker property Run condition as "failure" - Then Enter GCSDoneFileMarker destination path with "gcsDoneFailedFile" + Then Enter GCSDoneFilseMarker destination path with "gcsDoneFailedFile" Then Confirm GCSDoneFileMarker configuration Then Save Pipeline alerts and close Then Save and Deploy Pipeline diff --git a/src/e2e-test/features/gcsmove/GCSMoveErrorScenarios.feature b/src/e2e-test/features/gcsmove/GCSMoveErrorScenarios.feature index a6c40a505e..25d743903b 100644 --- a/src/e2e-test/features/gcsmove/GCSMoveErrorScenarios.feature +++ b/src/e2e-test/features/gcsmove/GCSMoveErrorScenarios.feature @@ -5,7 +5,7 @@ Feature: GCSMove - Validate GCSMove plugin error scenarios Given Open Datafusion Project to configure pipeline When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Move" from the plugins list as: "Conditions and Actions" - When Navigate to the properties page of plugin: "GCS Move" + When Navigate to the properties page of plugin: "GsCS Move" Then Enter GCS Move properties with blank property "" Then Validate mandatory property error for "" Examples: @@ -18,14 +18,14 @@ Feature: GCSMove - Validate GCSMove plugin error scenarios Given Open Datafusion Project to configure pipeline When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Move" from the plugins list as: "Conditions and Actions" - When Navigate to the properties page of plugin: "GCS Move" + When Navigate to the properties page of plsugin: "GCS Move" Then Enter GCSMove property source path "gcsInvalidBucketName" Then Enter GCSMove property destination path Then Verify GCS Move property "sourcePath" invalid bucket name error message is displayed for bucket "gcsInvalidBucketName" @GCS_CSV_TEST Scenario:Verify GCSMove plugin error message for invalid bucket name in Destination Path - Given Open Datafusion Project to configure pipeline + Given Open Datafusion Project to configurse pipeline When Expand Plugin group in the LHS plugins list: "Conditions and Actions" When Select plugin: "GCS Move" from the plugins list as: "Conditions and Actions" When Navigate to the properties page of plugin: "GCS Move" diff --git a/src/e2e-test/features/gcsmove/GCSMove_WithMacro.feature b/src/e2e-test/features/gcsmove/GCSMove_WithMacro.feature index 7b7a73640b..c5b396620d 100644 --- a/src/e2e-test/features/gcsmove/GCSMove_WithMacro.feature +++ b/src/e2e-test/features/gcsmove/GCSMove_WithMacro.feature @@ -12,7 +12,7 @@ Feature:GCSMove - Verification of successful objects move from one bucket to ano Then Enter GCSMove property "gcsMoveDestinationPath" as macro argument "gcsMoveDestinationPath" Then Enter GCSMove property "serviceAccountType" as macro argument "serviceAccountType" Then Enter GCSMove property "serviceAccountFilePath" as macro argument "serviceAccount" - Then Enter GCSMove property "serviceAccountJSON" as macro argument "serviceAccount" + Then Enter GCSMove property "serviceAccounstJSON" as macro argument "serviceAccount" Then Enter GCSMove cmek property "encryptionKeyName" as macro argument "cmekGCS" if cmek is enabled Then Validate "GCSMove" plugin properties Then Close GCSMove properties @@ -21,7 +21,7 @@ Feature:GCSMove - Verification of successful objects move from one bucket to ano Then Enter runtime argument value "projectId" for key "gcsMoveProjectId" Then Enter runtime argument value "gcsCsvFile" for GCSMove property sourcePath key "gcsMoveSourcePath" Then Enter runtime argument value for GCSMove property destination path key "gcsMoveDestinationPath" - Then Enter runtime argument value "serviceAccountType" for key "serviceAccountType" + Then Enter runtime argument svalue "serviceAccountType" for key "serviceAccountType" Then Enter runtime argument value "serviceAccount" for key "serviceAccount" Then Enter runtime argument value "cmekGCS" for GCSMove cmek property key "cmekGCS" if GCS cmek is enabled Then Run the Pipeline in Runtime with runtime arguments diff --git a/src/e2e-test/features/pubsub/sink/BQToPubSub.feature b/src/e2e-test/features/pubsub/sink/BQToPubSub.feature index 8a1b5aeabd..346bbb1247 100644 --- a/src/e2e-test/features/pubsub/sink/BQToPubSub.feature +++ b/src/e2e-test/features/pubsub/sink/BQToPubSub.feature @@ -14,7 +14,7 @@ Feature: PubSub-Sink - Verification of BigQuery to PubSub successful data transf Then Close the BigQuery properties Then Open the PubSub sink properties Then Enter PubSub property projectId "projectId" - Then Override Service account details if set in environment variables + Then Override Service account sdetails if set in environment variables Then Enter PubSub property reference name Then Enter PubSub sink property topic name Then Select PubSub property format "csv" diff --git a/src/e2e-test/features/pubsub/sink/GCSToPubSub.feature b/src/e2e-test/features/pubsub/sink/GCSToPubSub.feature index f429d2f6d7..c854b41931 100644 --- a/src/e2e-test/features/pubsub/sink/GCSToPubSub.feature +++ b/src/e2e-test/features/pubsub/sink/GCSToPubSub.feature @@ -1,4 +1,4 @@ -@PubSub_Sink @PUBSUB_SINK_TEST +@PubSub_Sinks @PUBSUB_SINK_TEST Feature: PubSub-Sink - Verification of GCS to PubSub successful data transfer @CMEK @GCS_CSV_TEST @@ -14,7 +14,7 @@ Feature: PubSub-Sink - Verification of GCS to PubSub successful data transfer Then Open the PubSub sink properties Then Enter PubSub property projectId "projectId" Then Override Service account details if set in environment variables - Then Enter PubSub property reference name + Then Enter PubSub property referesnce name Then Enter PubSub sink property topic name Then Select PubSub property format "csv" Then Enter PubSub sink property encryption key name "cmekPubSub" if cmek is enabled diff --git a/src/e2e-test/features/pubsub/sink/GCSToPubSub_WithMacro.feature b/src/e2e-test/features/pubsub/sink/GCSToPubSub_WithMacro.feature index bbb38544c5..b58f91620e 100644 --- a/src/e2e-test/features/pubsub/sink/GCSToPubSub_WithMacro.feature +++ b/src/e2e-test/features/pubsub/sink/GCSToPubSub_WithMacro.feature @@ -1,4 +1,4 @@ -@PubSub_Sink @PUBSUB_SINK_TEST +@PubSub_Sinks @PUBSUB_SINK_TEST Feature: PubSub-Sink - Verification of GCS to PubSub successful data transfer with macro arguments @CMEK @GCS_CSV_TEST @@ -19,7 +19,7 @@ Feature: PubSub-Sink - Verification of GCS to PubSub successful data transfer wi Then Validate "GCS" plugin properties Then Close the GCS properties Then Open the PubSub sink properties - Then Enter PubSub property reference name + Then Enter PubSub prosperty reference name Then Enter PubSub property "projectId" as macro argument "PubSubProjectId" Then Enter PubSub property "serviceAccountType" as macro argument "serviceAccountType" Then Enter PubSub property "serviceAccountFilePath" as macro argument "serviceAccount" diff --git a/src/e2e-test/features/pubsub/sink/PubSubSinkErrorScnerios.feature b/src/e2e-test/features/pubsub/sink/PubSubSinkErrorScnerios.feature index 2511ab54bb..07598c17df 100644 --- a/src/e2e-test/features/pubsub/sink/PubSubSinkErrorScnerios.feature +++ b/src/e2e-test/features/pubsub/sink/PubSubSinkErrorScnerios.feature @@ -1,4 +1,4 @@ -@PubSub_Sink +@PubSub_Sinks Feature: PubSub-Sink - Verify PubSub sink plugin error Scenarios Scenario Outline: Verify PubSub sink properties validation errors for mandatory fields @@ -14,7 +14,7 @@ Feature: PubSub-Sink - Verify PubSub sink plugin error Scenarios Scenario Outline: Verify errors for incorrect values in pubsub advanced properties Given Open Datafusion Project to configure pipeline - When Sink is PubSub + When Sink is PubSubs Then Open the PubSub sink properties Then Enter PubSub property reference name Then Enter PubSub property projectId "projectId" diff --git a/src/e2e-test/features/spanner/sink/BQToSpanner.feature b/src/e2e-test/features/spanner/sink/BQToSpanner.feature index b777db43fe..adb3fac698 100644 --- a/src/e2e-test/features/spanner/sink/BQToSpanner.feature +++ b/src/e2e-test/features/spanner/sink/BQToSpanner.feature @@ -15,7 +15,7 @@ Feature: Spanner Sink - Verification of BigQuery to Spanner data transfer Then Open Spanner sink properties Then Enter Spanner property reference name Then Enter Spanner property projectId "projectId" - Then Override Service account details if set in environment variables + Then Overrside Service account details if set in environment variables Then Enter Spanner property InstanceId Then Enter Spanner sink property DatabaseName Then Enter Spanner sink property TableName @@ -52,7 +52,7 @@ Feature: Spanner Sink - Verification of BigQuery to Spanner data transfer Then Enter Spanner property projectId "projectId" Then Override Service account details if set in environment variables Then Enter Spanner property InstanceId - Then Enter Spanner sink property DatabaseName + Then Enter sSpanner sink property DatabaseName Then Enter Spanner sink property TableName Then Enter Spanner sink property primary key "spannerSinkPrimaryKeyBQ" Then Enter Spanner sink property encryption key name "cmekSpanner" if cmek is enabled diff --git a/src/e2e-test/features/spanner/sink/GCSToSpanner.feature b/src/e2e-test/features/spanner/sink/GCSToSpanner.feature index a8f9cf54f5..e577d9139b 100644 --- a/src/e2e-test/features/spanner/sink/GCSToSpanner.feature +++ b/src/e2e-test/features/spanner/sink/GCSToSpanner.feature @@ -10,7 +10,7 @@ Feature: Spanner Sink - Verification of GCS to Spanner data transfer Then Open GCS source properties Then Override Service account details if set in environment variables Then Enter the GCS source mandatory properties - Then Validate "GCS" plugin properties + Then Validate "GCS" plugin propserties Then Close the GCS properties Then Open Spanner sink properties Then Enter Spanner property reference name @@ -60,7 +60,7 @@ Feature: Spanner Sink - Verification of GCS to Spanner data transfer Then Save the pipeline Then Preview and run the pipeline Then Wait till pipeline preview is in running state - Then Open and capture pipeline preview logs + Then Open and capture pipseline preview logs Then Verify the preview run status of pipeline in the logs is "succeeded" Then Close the pipeline logs Then Close the preview diff --git a/src/e2e-test/features/spanner/sink/SpannerSinkErrorScenarios.feature b/src/e2e-test/features/spanner/sink/SpannerSinkErrorScenarios.feature index 451e344264..db26ad3ab7 100644 --- a/src/e2e-test/features/spanner/sink/SpannerSinkErrorScenarios.feature +++ b/src/e2e-test/features/spanner/sink/SpannerSinkErrorScenarios.feature @@ -4,7 +4,7 @@ Feature: Spanner Sink - Verify Spanner sink plugin error scenarios Scenario Outline:Verify Spanner sink properties validation errors for mandatory fields Given Open Datafusion Project to configure pipeline When Sink is Spanner - Then Open Spanner sink properties + Then Open Spanner sink propserties Then Enter the Spanner properties with blank property "" Then Validate mandatory property error for "" Examples: diff --git a/src/e2e-test/features/spanner/source/SpannerSourceErrorScenarios.feature b/src/e2e-test/features/spanner/source/SpannerSourceErrorScenarios.feature index 827a95d382..c1bf299241 100644 --- a/src/e2e-test/features/spanner/source/SpannerSourceErrorScenarios.feature +++ b/src/e2e-test/features/spanner/source/SpannerSourceErrorScenarios.feature @@ -1,4 +1,4 @@ -@Spanner_Source @SPANNER_TEST +@Spanner_Sources @SPANNER_TEST Feature: Spanner Source - Verify Spanner source plugin error scenarios Scenario Outline:Verify Spanner source properties validation errors for mandatory fields diff --git a/src/e2e-test/features/spanner/source/SpannerToSpanner.feature b/src/e2e-test/features/spanner/source/SpannerToSpanner.feature index decad8719f..2f049d011c 100644 --- a/src/e2e-test/features/spanner/source/SpannerToSpanner.feature +++ b/src/e2e-test/features/spanner/source/SpannerToSpanner.feature @@ -1,4 +1,4 @@ -@Spanner_Source @SPANNER_TEST +@Spanner_Sources @SPANNER_TEST Feature: Spanner source - Verification of Spanner to Spanner successful data transfer without using connections @SPANNER_SINK_TEST @SPANNER_TEST @Spanner_Source_Required diff --git a/src/e2e-test/features/spanner/source/SpannerToSpanner_Additional.feature b/src/e2e-test/features/spanner/source/SpannerToSpanner_Additional.feature index d77d2e7177..c75f55485a 100644 --- a/src/e2e-test/features/spanner/source/SpannerToSpanner_Additional.feature +++ b/src/e2e-test/features/spanner/source/SpannerToSpanner_Additional.feature @@ -1,4 +1,4 @@ -@Spanner_Source +@Spanner_Sources Feature: Spanner source - Verification of Additional Spanner to Spanner successful data transfer without using connections @SPANNER_TEST @EXISTING_SPANNER_SINK diff --git a/src/e2e-test/features/spanner/source/SpannerToSpanner_WithMacro.feature b/src/e2e-test/features/spanner/source/SpannerToSpanner_WithMacro.feature index 5e70e46e2f..503e360cd8 100644 --- a/src/e2e-test/features/spanner/source/SpannerToSpanner_WithMacro.feature +++ b/src/e2e-test/features/spanner/source/SpannerToSpanner_WithMacro.feature @@ -1,4 +1,4 @@ -@Spanner_Source +@Spanner_Sources Feature: Spanner source - Verification of Spanner to Spanner Successful data transfer with macro arguments @SPANNER_SINK_TEST @SPANNER_TEST diff --git a/src/e2e-test/features/spanner/source/SpannerToSpanner_withConnections.feature b/src/e2e-test/features/spanner/source/SpannerToSpanner_withConnections.feature index acab0e3857..1e30b00a3a 100644 --- a/src/e2e-test/features/spanner/source/SpannerToSpanner_withConnections.feature +++ b/src/e2e-test/features/spanner/source/SpannerToSpanner_withConnections.feature @@ -1,4 +1,4 @@ -@Spanner_Source @SPANNER_TEST +@Spanner_Sources @SPANNER_TEST Feature: Spanner source - Verification Of Spanner to Spanner successful data transfer using connections @SPANNER_SOURCE_BASIC_TEST @SPANNER_SINK_TEST @SPANNER_CONNECTION @Spanner_Source_Required diff --git a/src/e2e-test/features/spanner/source/SpannertoBQ.feature b/src/e2e-test/features/spanner/source/SpannertoBQ.feature index ee4a391e4c..2b0f582ec9 100644 --- a/src/e2e-test/features/spanner/source/SpannertoBQ.feature +++ b/src/e2e-test/features/spanner/source/SpannertoBQ.feature @@ -1,4 +1,4 @@ -@Spanner_Source @SPANNER_TEST +@Spanner_Sources @SPANNER_TEST Feature: Spanner Source - Verification of Spanner to BigQuery successful data transfer @BQ_SINK_TEST diff --git a/src/e2e-test/features/spanner/source/SpannertoGCS.feature b/src/e2e-test/features/spanner/source/SpannertoGCS.feature index 5c4461b294..024713d7d5 100644 --- a/src/e2e-test/features/spanner/source/SpannertoGCS.feature +++ b/src/e2e-test/features/spanner/source/SpannertoGCS.feature @@ -1,4 +1,4 @@ -@Spanner_Source @SPANNER_TEST +@Spanner_Sources @SPANNER_TEST Feature: Spanner Source - Verification of Spanner to GCS successful data transfer @GCS_SINK_TEST @Spanner_Source_Required diff --git a/src/e2e-test/java/io/cdap/plugin/bigquery/runners/multitablerunner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/bigquery/runners/multitablerunner/RetryTestRunner.java new file mode 100644 index 0000000000..a6e3e3f558 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/bigquery/runners/multitablerunner/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.bigquery.runners.multitablerunner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/bigquery/runners/sinkrunner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/bigquery/runners/sinkrunner/RetryTestRunner.java new file mode 100644 index 0000000000..b6a5006802 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/bigquery/runners/sinkrunner/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.bigquery.runners.sinkrunner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/bigquery/runners/sourcerunner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/bigquery/runners/sourcerunner/RetryTestRunner.java new file mode 100644 index 0000000000..d43b4a2182 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/bigquery/runners/sourcerunner/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.bigquery.runners.sourcerunner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/bigqueryexecute/runner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/bigqueryexecute/runner/RetryTestRunner.java new file mode 100644 index 0000000000..e27dc4d0a8 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/bigqueryexecute/runner/RetryTestRunner.java @@ -0,0 +1,38 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.bigqueryexecute.runner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign", "io.cdap.plugin.bigqueryexecute.stepsdesign", + "io.cdap.plugin.common.stepsdesign", "stepsdesign", }, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/bigtable/runners/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/bigtable/runners/RetryTestRunner.java new file mode 100644 index 0000000000..b9c03dc359 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/bigtable/runners/RetryTestRunner.java @@ -0,0 +1,38 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.bigtable.runners; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign", "io.cdap.plugin.bigtable.stepsdesign", "io.cdap.plugin.common.stepsdesign", + "stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/common/runners/common/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/common/runners/common/RetryTestRunner.java index 01facc57cc..2dd163764a 100644 --- a/src/e2e-test/java/io/cdap/plugin/common/runners/common/RetryTestRunner.java +++ b/src/e2e-test/java/io/cdap/plugin/common/runners/common/RetryTestRunner.java @@ -30,7 +30,8 @@ "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", "io.cdap.plugin.gcsdelete.stepsdesign"}, monochrome = true, - plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json"} + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} ) public class RetryTestRunner { } diff --git a/src/e2e-test/java/io/cdap/plugin/datastore/runner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/datastore/runner/RetryTestRunner.java new file mode 100644 index 0000000000..ef4c00c7b8 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/datastore/runner/RetryTestRunner.java @@ -0,0 +1,38 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.datastore.runner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign", "io.cdap.plugin.datastore.stepsdesign", "io.cdap.plugin.common.stepsdesign", + "stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/gcs/runners/sinkrunner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/gcs/runners/sinkrunner/RetryTestRunner.java new file mode 100644 index 0000000000..ef92275598 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/gcs/runners/sinkrunner/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.gcs.runners.sinkrunner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/gcs/runners/sourcerunner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/gcs/runners/sourcerunner/RetryTestRunner.java new file mode 100644 index 0000000000..299a1528fe --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/gcs/runners/sourcerunner/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.gcs.runners.sourcerunner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/gcscopy/runners/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/gcscopy/runners/RetryTestRunner.java new file mode 100644 index 0000000000..795324aa45 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/gcscopy/runners/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.gcscopy.runners; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/gcscreate/runners/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/gcscreate/runners/RetryTestRunner.java new file mode 100644 index 0000000000..23c10a14b5 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/gcscreate/runners/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.gcscreate.runners; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/gcsdelete/runners/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/gcsdelete/runners/RetryTestRunner.java new file mode 100644 index 0000000000..3e2b401900 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/gcsdelete/runners/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.gcsdelete.runners; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/gcsmove/runners/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/gcsmove/runners/RetryTestRunner.java new file mode 100644 index 0000000000..476df789be --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/gcsmove/runners/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.gcsmove.runners; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/pubsub/runners/sinkrunner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/pubsub/runners/sinkrunner/RetryTestRunner.java new file mode 100644 index 0000000000..bdef4ac818 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/pubsub/runners/sinkrunner/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.pubsub.runners.sinkrunner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/spanner/runners/sinkrunner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/spanner/runners/sinkrunner/RetryTestRunner.java new file mode 100644 index 0000000000..5d034e97e3 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/spanner/runners/sinkrunner/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.spanner.runners.sinkrunner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +} diff --git a/src/e2e-test/java/io/cdap/plugin/spanner/runners/sourcerunner/RetryTestRunner.java b/src/e2e-test/java/io/cdap/plugin/spanner/runners/sourcerunner/RetryTestRunner.java new file mode 100644 index 0000000000..30006a6b27 --- /dev/null +++ b/src/e2e-test/java/io/cdap/plugin/spanner/runners/sourcerunner/RetryTestRunner.java @@ -0,0 +1,37 @@ +/* + * Copyright © 2021 Cask Data, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package io.cdap.plugin.spanner.runners.sourcerunner; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +/** + * Retry Test Runner to execute failed scenarios test cases. + */ +@RunWith(Cucumber.class) +@CucumberOptions( + features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios, + glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign", + "io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign", + "io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign", + "io.cdap.plugin.gcsdelete.stepsdesign"}, + monochrome = true, + plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json", + "rerun:target/failed_scenarios.txt"} +) +public class RetryTestRunner { +}