-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
✨ Source Salesforce: Adding bulk stream mock server tests #37749
✨ Source Salesforce: Adding bulk stream mock server tests #37749
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@@ -179,31 +179,6 @@ def test_stream_contains_unsupported_properties_by_bulk(stream_config, stream_ap | |||
assert not isinstance(stream, BulkSalesforceStream) | |||
|
|||
|
|||
def test_bulk_sync_pagination(stream_config, stream_api, requests_mock): |
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.
Moved to test_given_locator_when_read_then_extract_records_from_both_pages
assert output.get_stream_statuses(_STREAM_NAME)[-1] == AirbyteStreamStatus.COMPLETE | ||
|
||
def test_given_non_retryable_error_on_delete_job_result_when_read_then_fail_to_sync(self): | ||
""" |
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 don't think we've seen errors for that in prod but it would be sad kill the stream because of that
airbyte-integrations/connectors/source-salesforce/unit_tests/integration/test_bulk_stream.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-salesforce/unit_tests/integration/test_bulk_stream.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-salesforce/unit_tests/integration/test_bulk_stream.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-salesforce/unit_tests/integration/test_bulk_stream.py
Show resolved
Hide resolved
airbyte-integrations/connectors/source-salesforce/unit_tests/integration/test_bulk_stream.py
Show resolved
Hide resolved
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.
APPROVED
airbyte-integrations/connectors/source-salesforce/unit_tests/salesforce_job_response_builder.py
Outdated
Show resolved
Hide resolved
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.
🚢🚢
What
Before integrating the HttpClient that @pnilan is working on, we want to add a good safety need to identify issues without having to test manually before and after.
How
Adding mock server tests
User Impact
No customer impact. However, developer won't have to test manually before and after to ensure the behavior is the same.
Can this PR be safely reverted and rolled back?