<@U04S8PLJWMT> In the `acceptance-test-config.yml`...
# ask-ai
k
@kapa.ai In the
acceptance-test-config.yml
file of the source-linkedin-ads connector, I want to ignore one stream. How can I achieve that ?
k
To ignore a specific stream in the
acceptance-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:
Copy code
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).