Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix precision of timestamps in comparison in CDC acceptance tests #14645

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

lmossman
Copy link
Contributor

What

Fixes an issue in which the precision of timestamps in the database was lower than the precision of the timestamps in the test (e.g. Instant.now()), which caused test failures like these: https://github.com/airbytehq/airbyte/runs/7307850190?check_suite_focus=true#step:11:13209

This PR fixes the issue by guaranteeing that the precision of both timestamps in the comparison is the same, which should solve the issue.

@lmossman lmossman requested a review from alovew July 12, 2022 20:30
@lmossman lmossman merged commit 5d4d8ad into master Jul 12, 2022
@lmossman lmossman deleted the lmossman/fix-cdc-timestamp-comparison branch July 12, 2022 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants