Skip to content

Commit

Permalink
fix(test): use port instead of expose
Browse files Browse the repository at this point in the history
  • Loading branch information
safeamiiir committed Oct 7, 2024
1 parent a0e0da4 commit 51e3124
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions containers/integration_tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ services:
- /tmp/aqueduct_experiments:/tmp/aqueduct_experiments
- /tmp/aqueduct_extensions:/tmp/aqueduct_extensions

expose:
- 8000
ports:
- "8000:8000"

postgres:
image: postgres:15-alpine
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_connection():
expected_title = "test title"
expected_description = "test description"

api = API(url="host.docker.internal:8000", timeout=1)
api = API(url="http://aqueductcore:8000", timeout=1)

api.create_experiment(title=expected_title, description=expected_description)

Expand Down

0 comments on commit 51e3124

Please sign in to comment.