Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkitCLI committed Nov 27, 2024
1 parent 0126320 commit 2299469
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void validateDataTransferredFromBigQueryToBigQueryMultiTableInOneTableIsE
boolean recordsMatched = BigQueryMultiTableValidation.
validateBQToBigQueryMultiTable(Collections.singletonList(PluginPropertyUtils.pluginProp("bqSourceTable")),
Collections.singletonList(PluginPropertyUtils.pluginProp
("bqmtTargetTableTabB")));
("bqTargetTable")));
Assert.assertTrue("Value of records transferred to the BQ sink should be equal to the value " +
"of the records in the source table", recordsMatched);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,6 @@ public static void deleteTargetBqmtTable() throws IOException, InterruptedExcept
bqTargetTable = PluginPropertyUtils.pluginProp("bqTargetTable");
BigQueryClient.dropBqQuery(bqTargetTable);
BeforeActions.scenario.write("BQ Target table - " + bqTargetTable + " deleted successfully");
bqTargetTable = StringUtils.EMPTY;
} catch (BigQueryException e) {
if (e.getMessage().contains("Not found: Table")) {
BeforeActions.scenario.write("BQ Target Table " + bqTargetTable + " does not exist");
Expand Down Expand Up @@ -1674,8 +1673,6 @@ public static void deleteTwoTargetTables() throws IOException, InterruptedExcept
BigQueryClient.dropBqQuery(bqTargetTable2);
BeforeActions.scenario.write("BQ Target table - " + bqTargetTable + " deleted successfully");
BeforeActions.scenario.write("BQ Target table2 - " + bqTargetTable2 + " deleted successfully");
bqTargetTable = StringUtils.EMPTY;
bqTargetTable2 = StringUtils.EMPTY;

} catch (BigQueryException e) {
if (e.getMessage().contains("Not found: Table")) {
Expand Down

0 comments on commit 2299469

Please sign in to comment.