Skip to content

Commit

Permalink
disable server apps
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Jul 31, 2023
1 parent 55cde6b commit 05b11fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Start Redis
uses: supercharge/redis-github-action@1.5.0
with:
redis-version: 7
redis-version: 6
redis-port: 6333
- name: Test with tox
run: tox
24 changes: 12 additions & 12 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ def fastapi_server_redis_1(minio_server):
"-m",
"hypha.server",
f"--port={SIO_PORT_REDIS_1}",
"--enable-server-apps",
"--enable-s3",
# "--enable-server-apps",
# "--enable-s3",
f"--redis-uri=redis://127.0.0.1:{REDIS_PORT}/0",
"--reset-redis",
f"--endpoint-url={MINIO_SERVER_URL}",
f"--access-key-id={MINIO_ROOT_USER}",
f"--secret-access-key={MINIO_ROOT_PASSWORD}",
f"--endpoint-url-public={MINIO_SERVER_URL_PUBLIC}",
# f"--endpoint-url={MINIO_SERVER_URL}",
# f"--access-key-id={MINIO_ROOT_USER}",
# f"--secret-access-key={MINIO_ROOT_PASSWORD}",
# f"--endpoint-url-public={MINIO_SERVER_URL_PUBLIC}",
],
env=test_env,
) as proc:
Expand Down Expand Up @@ -197,13 +197,13 @@ def fastapi_server_redis_2(minio_server, fastapi_server):
"-m",
"hypha.server",
f"--port={SIO_PORT_REDIS_2}",
"--enable-server-apps",
"--enable-s3",
# "--enable-server-apps",
# "--enable-s3",
f"--redis-uri=redis://127.0.0.1:{REDIS_PORT}/0",
f"--endpoint-url={MINIO_SERVER_URL}",
f"--access-key-id={MINIO_ROOT_USER}",
f"--secret-access-key={MINIO_ROOT_PASSWORD}",
f"--endpoint-url-public={MINIO_SERVER_URL_PUBLIC}",
# f"--endpoint-url={MINIO_SERVER_URL}",
# f"--access-key-id={MINIO_ROOT_USER}",
# f"--secret-access-key={MINIO_ROOT_PASSWORD}",
# f"--endpoint-url-public={MINIO_SERVER_URL_PUBLIC}",
],
env=test_env,
) as proc:
Expand Down

0 comments on commit 05b11fc

Please sign in to comment.