Skip to content

Commit

Permalink
corrected path for feature
Browse files Browse the repository at this point in the history
  • Loading branch information
yjhawar committed Apr 12, 2023
1 parent 5294941 commit 38df210
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/e2e-test/features/Pipeline.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 2 additions & 4 deletions src/e2e-test/java/io.cdap.plugin/hooks/TestSetUpHooks.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}
2 changes: 1 addition & 1 deletion src/e2e-test/java/io.cdap.plugin/tests/TestRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 38df210

Please sign in to comment.