Skip to content

Commit fb40992

Browse files
authored
fix: CircleCI test setup failures (supertokens#571)
- Changes `test-unit` command to ensure `Makefile` is found - Reverts use of `get_new_core_url` in `test-server` - Introduced in supertokens#561
1 parent e7fb013 commit fb40992

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.circleci/config_continue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
2828
- run: python3 -m pip install pip setuptools --upgrade
2929
- run: make dev-install
30-
- run: (cd .circleci/ && ./doUnitTests.sh << parameters.cdi-version >>)
30+
- run: .circleci/doUnitTests.sh << parameters.cdi-version >>
3131
- store_test_results:
3232
path: test-results/junit.xml
3333
- slack/status

tests/test-server/app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
from usermetadata import add_usermetadata_routes
7373

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

7776
app = Flask(__name__)
7877
Middleware(app)
@@ -101,7 +100,7 @@ def origin_func( # pylint: disable=unused-argument, dangerous-default-value
101100
api_domain="http://api.supertokens.io",
102101
origin=origin_func,
103102
),
104-
supertokens_config=SupertokensConfig(connection_uri=get_new_core_app_url()),
103+
supertokens_config=SupertokensConfig(connection_uri="http://localhost:3567"),
105104
framework="flask",
106105
recipe_list=[emailpassword.init(), session.init()],
107106
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy