diff --git a/tests/integration_tests/conftest.py b/tests/integration_tests/conftest.py index b3f4ee7..564b079 100644 --- a/tests/integration_tests/conftest.py +++ b/tests/integration_tests/conftest.py @@ -58,7 +58,7 @@ async def create_test_domain(client_options: ClientOptions) -> None: helper = CadenceHelper(client_options, "create_test_domain", "") async with helper.client() as client: logging.info("Connecting to service...") - # It takes around a minute for the Cadence server to start up with Cassandra + # Allow time for the Cadence server to start up and set up its schema async with asyncio.timeout(120): await client.ready() diff --git a/tests/integration_tests/docker-compose.yml b/tests/integration_tests/docker-compose.yml index 1ea16f9..571da84 100644 --- a/tests/integration_tests/docker-compose.yml +++ b/tests/integration_tests/docker-compose.yml @@ -1,20 +1,6 @@ version: "3.5" services: - cassandra: - image: cassandra:4.1.3 - ports: - - "9042:9042" - networks: - services-network: - aliases: - - cassandra - healthcheck: - test: ["CMD", "cqlsh", "-u cassandra", "-p cassandra" ,"-e describe keyspaces"] - interval: 15s - timeout: 30s - retries: 10 - statsd: image: hopsoft/graphite-statsd ports: @@ -36,12 +22,10 @@ services: - "7935:7935" - "7939:7939" environment: - - "CASSANDRA_SEEDS=cassandra" + - "DB=sqlite" - "STATSD_ENDPOINT=statsd:8125" - "DYNAMIC_CONFIG_FILE_PATH=dynamicconfig/development.yaml" depends_on: - cassandra: - condition: service_healthy statsd: condition: service_started networks: