Skip to content

Commit

Permalink
Fix end to end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
teaf-wise committed Aug 8, 2023
1 parent a618f9e commit fa619a2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ def test_replicate_pg_to_sf(self):
f"where cvarchar='H';"
)[0][0]

self.assertEqual(result, datetime(9999, 12, 31, 23, 59, 59, 998993)) # if bump snowflake-connector -> 999000
self.assertEqual(result, datetime(9999, 12, 31, 23, 59, 59, 999000))

result = self.e2e_env.run_query_target_snowflake(
f'SELECT updated_at FROM '
f'ppw_e2e_tap_postgres{self.e2e_env.sf_schema_postfix}."TABLE_WITH_SPACE AND UPPERCASE" '
f"where cvarchar='I';"
)[0][0]

self.assertEqual(result, datetime(9999, 12, 31, 23, 59, 59, 998993)) # if bump snowflake-connector -> 999000
self.assertEqual(result, datetime(9999, 12, 31, 23, 59, 59, 999000))

# 2. Make changes in PG source database
# LOG_BASED
Expand Down

0 comments on commit fa619a2

Please sign in to comment.