From 9781d4ff816e15261e9fc540d7b07aa747676cd2 Mon Sep 17 00:00:00 2001 From: yjhawar Date: Wed, 12 Apr 2023 14:30:04 +0530 Subject: [PATCH] corrected path for feature --- src/e2e-test/features/Pipeline.feature | 2 +- src/e2e-test/java/io.cdap.plugin/hooks/TestSetUpHooks.java | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) 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); } }