Hello, all. I've been building a new source connec...
# ask-community-for-troubleshooting
m
Hello, all. I've been building a new source connector using the low-code CDK but got a similar error to this one with my acceptance tests, even though these commands work perfectly on my end:
Copy code
python main.py read --config secrets/config.json --catalog integration_tests/configured_catalog.json
The linked error was apparently due to the /var/run/docker.sock symlink being missing, but I'm not sure how to resolve it. Any ideas?
I've also been running into this acceptance test error:
Copy code
―――――――――――――――――――――――――――――――――――――――― TestConnection.test_check[inputs0] ――――――――――――――――――――――――――――――――――――――――

self = <source_acceptance_test.tests.test_core.TestConnection object at 0x7fbd34ddc850>
connector_config = SecretDict(******)
inputs = ConnectionTestConfig(config_path='secrets/config.json', status=<Status.Succeed: 'succeed'>, timeout_seconds=300)
docker_runner = <source_acceptance_test.utils.connector_runner.ConnectorRunner object at 0x7fbd34ddc2b0>

    def test_check(self, connector_config, inputs: ConnectionTestConfig, docker_runner: ConnectorRunner):
        if inputs.status == ConnectionTestConfig.Status.Succeed:
            output = docker_runner.call_check(config=connector_config)
            con_messages = filter_output(output, Type.CONNECTION_STATUS)
    
            assert len(con_messages) == 1, "Connection status message should be emitted exactly once"
>           assert con_messages[0].connectionStatus.status == Status.SUCCEEDED
E           AssertionError: assert equals failed
E             <Status.FAILED: 'FAILED'>        <Status.SUCCEEDED: 'SUCCEEDED'>

../../bases/source-acceptance-test/source_acceptance_test/tests/test_core.py:207: AssertionError
This is despite this command working:
Copy code
python main.py check --config secrets/config.json
u
Hi, Michael! I've actually run into that second error while developing a low code connector 😅 and for me it randomly resolved itself. Haven't run into the first one though, but I'm looking into how to fix it!
thanku 1
m
@Nataly Merezhuk (Airbyte) Any updates on this? I'm curious to know what can be done to fix these acceptance test errors.
n
Are you running on Windows by any chance?
m
No, I am running on MacOS. Any advice on how to address these test errors?