diff --git a/src/e2e-test/features/Pipeline.feature b/src/e2e-test/features/Pipeline.feature index 0b6a7e5..da6a28c 100644 --- a/src/e2e-test/features/Pipeline.feature +++ b/src/e2e-test/features/Pipeline.feature @@ -15,7 +15,7 @@ # Feature: Oracle - Verify Oracle source data transfer to Big Query - @ENV_VARIABLES #@ORACLE_SOURCE @ORACLE_DELETE @BIGQUERY_DELETE + @ENV_VARIABLES @ORACLE_SOURCE @ORACLE_DELETE @BIGQUERY_DELETE Scenario: To verify replication of snapshot and cdc data from Oracle to Big Query successfully with Sanity test Given Open DataFusion Project with replication to configure pipeline When Enter input plugin property: "name" with value: "pipelineName" diff --git a/src/e2e-test/java/io.cdap.plugin/hooks/TestSetUpHooks.java b/src/e2e-test/java/io.cdap.plugin/hooks/TestSetUpHooks.java index 721d0ac..926a7dd 100644 --- a/src/e2e-test/java/io.cdap.plugin/hooks/TestSetUpHooks.java +++ b/src/e2e-test/java/io.cdap.plugin/hooks/TestSetUpHooks.java @@ -15,14 +15,12 @@ */ package io.cdap.plugin.hooks; -import com.google.cloud.bigquery.BigQueryException; -import io.cdap.e2e.utils.BigQueryClient; + import io.cdap.e2e.utils.PluginPropertyUtils; import io.cdap.plugin.utils.BigQuery; import io.cdap.plugin.utils.OracleClient; import io.cucumber.java.After; import io.cucumber.java.Before; -import org.junit.Assert; import stepsdesign.BeforeActions; import java.io.IOException; @@ -95,7 +93,7 @@ public static void dropTables() throws SQLException, ClassNotFoundException { } @After(order = 1, value = "@BIGQUERY_DELETE") - public static void deleteTempTargetBQTable() throws IOException, InterruptedException { + public static void deleteTargetBQTable() throws IOException, InterruptedException { BigQuery.deleteTable(tableName); } } diff --git a/src/e2e-test/java/io.cdap.plugin/tests/TestRunner.java b/src/e2e-test/java/io.cdap.plugin/tests/TestRunner.java index 007cd9a..5c063ed 100644 --- a/src/e2e-test/java/io.cdap.plugin/tests/TestRunner.java +++ b/src/e2e-test/java/io.cdap.plugin/tests/TestRunner.java @@ -24,7 +24,7 @@ */ @RunWith(Cucumber.class) @CucumberOptions( - features = {"e2e-test/features"}, + features = {"src/e2e-test/features"}, glue = {"stepsdesign", "io.cdap.plugin.stepsdesign", "io.cdap.plugin.hooks"}, tags = {"@Oracle"}, monochrome = true, plugin = {"pretty", "html:target/cucumber-html-report", "json:target/cucumber-reports/cucumber.json",