Skip to content

Commit

Permalink
Update Jupyter server port in integration-test.yml and config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwenyihust committed Jul 3, 2024
1 parent dad4464 commit 3dd858f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
env:
JUPYTER_ENABLE_LAB: "no"
ports:
- "8888:8888"
- "8889:8888"
options: >-
--health-cmd "curl -f http://localhost:8888 || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 5
--publish 8888:8888
--publish 8889:8888
steps:
Expand Down
2 changes: 1 addition & 1 deletion server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ class TestingConfig(Config):
class IntegrationTestingConfig(Config):
TESTING = True
SQLALCHEMY_DATABASE_URI = 'postgresql://server:password-server@localhost:5432/server_db'
JUPYTER_SERVER_PATH = 'http://localhost:8888'
JUPYTER_SERVER_PATH = 'http://localhost:8889'
JUPYTER_API_PATH = JUPYTER_SERVER_PATH + '/api/contents'
JUPYTER_DEFAULT_PATH = 'work'

0 comments on commit 3dd858f

Please sign in to comment.