Skip to content
This repository was archived by the owner on Mar 13, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ test_script:
- test_full_refresh_from_mssql.cmd
- test_incremental_refresh_from_csv.cmd
- test_incremental_refresh_from_mssql.cmd
- test_audit.cmd

- test_full_refresh_from_mssql.cmd
- test_incremental_refresh_from_mssql.cmd
Expand All @@ -64,6 +65,7 @@ test_script:
- sqlcmd -b -E -f 65001 -S "(local)\SQL2016" -d RelationalDataLoaderIntegrationTestSource -i .\integration_tests\mssql_source\source_database_setup\change_large_table.sql

- test_full_refresh_from_mssql.cmd
- test_audit.cmd

on_finish:
#Enable this line to make the build pause after completion for RDP troubleshooting.
Expand Down
2 changes: 1 addition & 1 deletion rdl/RelationalDataLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def execute_audit_command(self):

results = _AUDIT_FUNCTION_OPTIONS[self.args.model_type](data_load_tracker_repository, last_successful_timestamp)

print(results.join(" "))
print(" ".join(results))

def configure_root_logger(self, log_level):
# get the root logger
Expand Down
5 changes: 5 additions & 0 deletions test_audit.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
py -m rdl audit postgresql+psycopg2://postgres:there_is_no_password_due_to_pg_trust@localhost/relational_data_loader_integration_tests FULL 2019-02-14T01:55:54.123456+00:00 --log-level INFO
if %errorlevel% neq 0 exit /b %errorlevel%

py -m rdl audit postgresql+psycopg2://postgres:there_is_no_password_due_to_pg_trust@localhost/relational_data_loader_integration_tests INCR 2019-02-14T01:55:54.123456+00:00 --log-level INFO
if %errorlevel% neq 0 exit /b %errorlevel%