Skip to content

Commit

Permalink
Revert "Update orders stream for interrupted sync again"
Browse files Browse the repository at this point in the history
This reverts commit 6921131.
  • Loading branch information
bhtowles committed May 1, 2024
1 parent 6921131 commit d5ddf7e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_interrupted_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,9 @@ 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 transactions stream has equal bookmarks, orders stream has shown both
# equal and greater than bookmark behavior, confirm this behavior is correct
if stream == 'transactions':
# TODO orders and transactions streams are equal, confirm this behavior is correct
if stream == 'transactions' or stream == 'orders':
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 d5ddf7e

Please sign in to comment.