-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAT: unit tests
test_state_with_abnormally_large_values
+ add missi…
…ng `future_state_path` (#17791)
- Loading branch information
1 parent
07e5e35
commit 0cbd4de
Showing
12 changed files
with
425 additions
and
59 deletions.
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.