Skip to content

Commit

Permalink
fix it finally
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantAnxiety committed Nov 21, 2024
1 parent 36f2d67 commit 83c211a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lib/dl_api_lib/dl_api_lib_tests/db/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
CORE_TEST_CONFIG = CoreTestEnvironmentConfiguration(
host_us_http=get_test_container_hostport("us", fallback_port=52500).host,
port_us_http=get_test_container_hostport("us", fallback_port=52500).port,
host_us_pg=get_test_container_hostport("db-postgres", fallback_port=52509).host,
port_us_pg_5432=get_test_container_hostport("db-postgres", fallback_port=52509).port,
host_us_pg=get_test_container_hostport("pg-us", fallback_port=52509).host,
port_us_pg_5432=get_test_container_hostport("pg-us", fallback_port=52509).port,
us_master_token="AC1ofiek8coB",
core_connector_ep_names=["clickhouse", "postgresql"],
compeng_url=(
f"postgresql://us:us@"
f'{get_test_container_hostport("db-postgres", fallback_port=52509).as_pair()}/us-db-ci_purgeable'
f'{get_test_container_hostport("pg-us", fallback_port=52509).as_pair()}/us-db-ci_purgeable'
),
redis_host=get_test_container_hostport("redis-caches").host,
redis_port=get_test_container_hostport("redis-caches", fallback_port=52505).port,
Expand Down
5 changes: 1 addition & 4 deletions lib/dl_api_lib/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
dockerfile: Dockerfile.db-clickhouse

# PostgreSQL is used both for US and COMPENG
db-postgres:
pg-us:
extends:
file: ../testenv-common/docker-compose.common.yml
service: pg-us
Expand All @@ -29,8 +29,5 @@ services:
extends:
file: ../testenv-common/docker-compose.common.yml
service: us
depends_on:
db-postgres:
condition: service_healthy
ports:
- "52500:8083"

0 comments on commit 83c211a

Please sign in to comment.