Skip to content

Commit

Permalink
fix: CircleCI test setup failures
Browse files Browse the repository at this point in the history
- Changes `test-unit` command to ensure `Makefile` is found
- Reverts use of `get_new_core_url` in `test-server`
    - Introduced in #561
  • Loading branch information
namsnath committed Mar 6, 2025
1 parent e7fb013 commit b451964
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config_continue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
- run: python3 -m pip install pip setuptools --upgrade
- run: make dev-install
- run: (cd .circleci/ && ./doUnitTests.sh << parameters.cdi-version >>)
- run: .circleci/doUnitTests.sh << parameters.cdi-version >>
- store_test_results:
path: test-results/junit.xml
- slack/status
Expand Down
3 changes: 1 addition & 2 deletions tests/test-server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
from usermetadata import add_usermetadata_routes

from supertokens import add_supertokens_routes # pylint: disable=import-error
from tests.utils import get_new_core_app_url

app = Flask(__name__)
Middleware(app)
Expand Down Expand Up @@ -101,7 +100,7 @@ def origin_func( # pylint: disable=unused-argument, dangerous-default-value
api_domain="http://api.supertokens.io",
origin=origin_func,
),
supertokens_config=SupertokensConfig(connection_uri=get_new_core_app_url()),
supertokens_config=SupertokensConfig(connection_uri="http://localhost:3567"),
framework="flask",
recipe_list=[emailpassword.init(), session.init()],
)
Expand Down

0 comments on commit b451964

Please sign in to comment.