-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
SAT: unit tests test_state_with_abnormally_large_values
+ add missing future_state_path
#17791
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
fb250c3
test state emit when no data
alafanechere 918352e
bump version
alafanechere 4c4d9fb
add abnormal state test to when missing
alafanechere 0ce9b2f
Merge branch 'master' into augustin/sat/allways-emit-state
alafanechere da3902f
Merge branch 'master' into augustin/sat/allways-emit-state
alafanechere 701c9c0
Merge branch 'master' into augustin/sat/allways-emit-state
alafanechere 7ce455b
Merge branch 'master' into augustin/sat/allways-emit-state
alafanechere File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
airbyte-integrations/bases/source-acceptance-test/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 72 additions & 16 deletions
88
airbyte-integrations/connectors/source-bigcommerce/integration_tests/abnormal_state.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,79 @@ | ||
{ | ||
"customers": { | ||
"date_modified": "2080-07-30T22:16:46" | ||
[ | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"date_modified": "2080-07-30T22:16:46" | ||
}, | ||
"stream_descriptor": { | ||
"name": "customers" | ||
} | ||
} | ||
}, | ||
"orders": { | ||
"date_modified": "2080-07-30T22:16:46+00:00" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"date_modified": "2080-07-30T22:16:46+00:00" | ||
}, | ||
"stream_descriptor": { | ||
"name": "orders" | ||
} | ||
} | ||
}, | ||
"transactions": { | ||
"id": 5783048848838997 | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"id": 5783048848838997 | ||
}, | ||
"stream_descriptor": { | ||
"name": "transactions" | ||
} | ||
} | ||
}, | ||
"pages": { | ||
"id": 9000002039398998 | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"id": 9000002039398998 | ||
}, | ||
"stream_descriptor": { | ||
"name": "pages" | ||
} | ||
} | ||
}, | ||
"products": { | ||
"date_modified": "2080-01-10T00:17:08+00:00" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"date_modified": "2080-01-10T00:17:08+00:00" | ||
}, | ||
"stream_descriptor": { | ||
"name": "products" | ||
} | ||
} | ||
}, | ||
"channels": { | ||
"date_modified": "2080-01-10T00:17:08+00:00" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"date_modified": "2080-01-10T00:17:08+00:00" | ||
}, | ||
"stream_descriptor": { | ||
"name": "channels" | ||
} | ||
} | ||
}, | ||
"store": { | ||
"store_id": 99199991999999199 | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"store_id": 99199991999999200 | ||
}, | ||
"stream_descriptor": { | ||
"name": "store" | ||
} | ||
} | ||
} | ||
} | ||
] |
88 changes: 72 additions & 16 deletions
88
airbyte-integrations/connectors/source-bigcommerce/integration_tests/sample_state.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,79 @@ | ||
{ | ||
"customers": { | ||
"date_modified": "2021-08-11T15:18:55Z" | ||
[ | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"date_modified": "2021-08-11T15:18:55Z" | ||
}, | ||
"stream_descriptor": { | ||
"name": "customers" | ||
} | ||
} | ||
}, | ||
"orders": { | ||
"date_modified": "2021-08-16T21:09:10+00:00" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"date_modified": "2021-08-16T21:09:10+00:00" | ||
}, | ||
"stream_descriptor": { | ||
"name": "orders" | ||
} | ||
} | ||
}, | ||
"transactions": { | ||
"id": 0 | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"id": 0 | ||
}, | ||
"stream_descriptor": { | ||
"name": "transactions" | ||
} | ||
} | ||
}, | ||
"pages": { | ||
"id": 4 | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"id": 4 | ||
}, | ||
"stream_descriptor": { | ||
"name": "pages" | ||
} | ||
} | ||
}, | ||
"products": { | ||
"date_modified": "2022-01-10T00:17:08+00:00" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"date_modified": "2022-01-10T00:17:08+00:00" | ||
}, | ||
"stream_descriptor": { | ||
"name": "products" | ||
} | ||
} | ||
}, | ||
"channels": { | ||
"date_modified": "2022-01-10T00:17:08+00:00" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"date_modified": "2022-01-10T00:17:08+00:00" | ||
}, | ||
"stream_descriptor": { | ||
"name": "channels" | ||
} | ||
} | ||
}, | ||
"store": { | ||
"store_id": 0 | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"store_id": 0 | ||
}, | ||
"stream_descriptor": { | ||
"name": "store" | ||
} | ||
} | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
airbyte-integrations/connectors/source-paystack/integration_tests/abnormal_state.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
[ | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"createdAt": "2099-08-01T00:00:00Z" | ||
}, | ||
"stream_descriptor": { | ||
"name": "customers" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"createdAt": "2099-08-01T00:00:00Z" | ||
}, | ||
"stream_descriptor": { | ||
"name": "disputes" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"created_at": "2099-08-01T00:00:00Z" | ||
}, | ||
"stream_descriptor": { | ||
"name": "invoices" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"createdAt": "2099-08-01T00:00:00Z" | ||
}, | ||
"stream_descriptor": { | ||
"name": "refunds" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"createdAt": "2099-08-01T00:00:00Z" | ||
}, | ||
"stream_descriptor": { | ||
"name": "settlements" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"createdAt": "2099-08-01T00:00:00Z" | ||
}, | ||
"stream_descriptor": { | ||
"name": "subscriptions" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"createdAt": "2099-08-01T00:00:00Z" | ||
}, | ||
"stream_descriptor": { | ||
"name": "transactions" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { | ||
"createdAt": "2099-08-01T00:00:00Z" | ||
}, | ||
"stream_descriptor": { | ||
"name": "transfers" | ||
} | ||
} | ||
} | ||
] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love to see more tests being enabled!