Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/integration_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
18 changes: 1 addition & 17 deletions tests/integration_tests/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand Down
Loading