Skip to content

Commit

Permalink
Update orders stream for interrupted sync again
Browse files Browse the repository at this point in the history
  • Loading branch information
bhtowles committed May 1, 2024
1 parent 6e3fb7f commit 6921131
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_interrupted_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,12 @@ def test_run(self):
# This is the expected behaviour for shopify as they are using date windowing
# TDL-17096 : Resuming bookmark value is getting assigned from execution time
# rather than the actual bookmark time for some streams.
# TODO orders and transactions streams are equal, confirm this behavior is correct
if stream == 'transactions' or stream == 'orders':
# TODO transactions stream has equal bookmarks, orders stream has shown both
# equal and greater than bookmark behavior, confirm this behavior is correct
if stream == 'transactions':
self.assertEqual(resuming_bookmark_value, first_bookmark_value)
if stream == 'orders':
self.assertGreaterEqual(resuming_bookmark_value, first_bookmark_value)
else:
self.assertGreater(resuming_bookmark_value, first_bookmark_value)

Expand Down

0 comments on commit 6921131

Please sign in to comment.