Kevin Lefevre
02/06/2025, 8:52 PMacceptance-test-config.yml
file of the source-linkedin-ads connector, I want to ignore one stream.
How can I achieve that ?kapa.ai
02/06/2025, 8:53 PMacceptance-test-config.yml
file of the source-linkedin-ads connector, you can use the empty_streams
configuration in the basic_read
test. Here's how you can achieve this: 1. Open the acceptance-test-config.yml
file for the source-linkedin-ads connector. 2. Locate the basic_read
test configuration. 3. Add an empty_streams
section under the basic_read
test, specifying the stream you want to ignore along with a bypass_reason
. Here's an example of how your configuration might look: yaml acceptance_tests: basic_read: tests: - config_path: secrets/config.json empty_streams: - name: your_stream_name_here bypass_reason: "Provide a reason why this stream is being ignored"
Replace your_stream_name_here
with the actual name of the stream you want to ignore, and provide a valid reason for bypassing this stream in the bypass_reason
field. This configuration tells the acceptance tests to treat the specified stream as empty, effectively ignoring it during the basic read test. It's important to note that in high test strictness level, all streams declared as empty_streams
must have a bypass_reason
filled in. For more information on configuring acceptance tests, you can refer to the [Connector Acceptance Tests Reference](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference#test-basic-read).