fix: update docker-compose port for db
This commit is contained in:
@@ -8,7 +8,7 @@ services:
|
|||||||
POSTGRESQL_DATABASE: tycho_indexer_0
|
POSTGRESQL_DATABASE: tycho_indexer_0
|
||||||
POSTGRESQL_USERNAME: postgres
|
POSTGRESQL_USERNAME: postgres
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5431:5432"
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class TestRunner:
|
|||||||
print(f"❗️ {test['name']} failed: {result.message}")
|
print(f"❗️ {test['name']} failed: {result.message}")
|
||||||
|
|
||||||
self.tycho_runner.empty_database(
|
self.tycho_runner.empty_database(
|
||||||
"postgres://postgres:mypassword@localhost:5432"
|
"postgres://postgres:mypassword@localhost:5431"
|
||||||
)
|
)
|
||||||
|
|
||||||
def validate_state(self, expected_state: dict, stop_block: int) -> TestResult:
|
def validate_state(self, expected_state: dict, stop_block: int) -> TestResult:
|
||||||
|
|||||||
Reference in New Issue
Block a user