Skip to content

Commit 4315efc

Browse files
Merge pull request #1147 from sawantpritam/e2e-tests
e2e tests update for PLUGIN-808
2 parents 5b393b8 + 6740666 commit 4315efc

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

src/e2e-test/features/gcs/sink/GCSSink.feature

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,30 @@ Feature: GCS sink - Verification of GCS Sink plugin
9494
| avro | application/avro |
9595
| parquet | application/octet-stream |
9696
| orc | application/octet-stream |
97-
@PLUGIN-808
97+
98+
@GCS_SINK_TEST @BQ_SOURCE_TEST
99+
Scenario Outline: To verify data is getting transferred successfully from BigQuery to GCS with combinations of contenttype
100+
Given Open Datafusion Project to configure pipeline
101+
When Source is BigQuery
102+
When Sink is GCS
103+
Then Connect source as "BigQuery" and sink as "GCS" to establish connection
104+
Then Open BigQuery source properties
105+
Then Enter the BigQuery source mandatory properties
106+
Then Validate "BigQuery" plugin properties
107+
Then Close the BigQuery properties
108+
Then Open GCS sink properties
109+
Then Enter GCS property projectId and reference name
110+
Then Enter GCS sink property path
111+
Then Select GCS property format "<FileFormat>"
112+
Then Select GCS sink property contentType "<contentType>"
113+
Then Validate "GCS" plugin properties
114+
Then Close the GCS properties
115+
Then Save and Deploy Pipeline
116+
Then Run the Pipeline in Runtime
117+
Then Wait till pipeline is in running state
118+
Then Open and capture logs
119+
Then Verify the pipeline status is "Succeeded"
120+
Then Verify data is transferred to target GCS bucket
98121
Examples:
99122
| FileFormat | contentType |
100123
| csv | application/csv |

src/e2e-test/java/io/cdap/plugin/gcs/runners/sinkrunner/TestRunner.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
features = {"src/e2e-test/features"},
2828
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign",
2929
"stepsdesign", "io.cdap.plugin.common.stepsdesign"},
30-
tags = {"@GCS_Sink and not @PLUGIN-808"},
31-
/* TODO :Enable tests once issue fixed https://cdap.atlassian.net/browse/PLUGIN-808 */
30+
tags = {"@GCS_Sink"},
3231
monochrome = true,
3332
plugin = {"pretty", "html:target/cucumber-html-report/gcs-sink",
3433
"json:target/cucumber-reports/cucumber-gcs-sink.json",

0 commit comments

Comments
 (0)