Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit c36b15a

Browse files
authored
make default port 3020
1 parent e91fddd commit c36b15a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/conftest.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,20 @@ def seam_backend():
3535
).with_env("DATABASE_NAME", "seam_api").with_env("NODE_ENV", "test").with_env(
3636
"POSTGRES_HOST", db_host
3737
).with_env(
38-
"SERVER_BASE_URL", "http://localhost:3000"
38+
"SERVER_BASE_URL", "http://localhost:3020"
3939
).with_env(
4040
"SEAMTEAM_ADMIN_PASSWORD", "1234"
41+
).with_env(
42+
"PORT", "3020"
4143
).with_bind_ports(
42-
3000, 3000
44+
3020, 3020
4345
).with_command(
4446
"start:for-integration-testing"
4547
) as sc_container:
4648
wait_for_logs(sc_container, r"started server", timeout=20)
47-
requests.get("http://localhost:3000/health")
49+
requests.get("http://localhost:3020/health")
4850
yield SeamBackend(
49-
url="http://localhost:3000",
51+
url="http://localhost:3020",
5052
sandbox_api_key="seam_sandykey_0000000000000000000sand",
5153
)
5254

0 commit comments

Comments
 (0)