File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ services:
2
2
core :
3
3
# Uses `$SUPERTOKENS_CORE_VERSION` when available, else latest
4
4
image : supertokens/supertokens-dev-postgresql:${SUPERTOKENS_CORE_VERSION:-master}
5
- entrypoint : [
6
- " /usr/lib/supertokens/jre/bin/java" ,
7
- " -classpath" , "/usr/lib/supertokens/core/*:/usr/lib/supertokens/plugin-interface/*:/usr/lib/supertokens/ee/*",
8
- " io.supertokens.Main" , "/usr/lib/supertokens/", "DEV", "test_mode"
9
- ]
5
+ # entrypoint: [
6
+ # "/usr/lib/supertokens/jre/bin/java",
7
+ # "-classpath", "/usr/lib/supertokens/core/*:/usr/lib/supertokens/plugin-interface/*:/usr/lib/supertokens/ee/*",
8
+ # "io.supertokens.Main", "/usr/lib/supertokens/", "DEV", "test_mode"
9
+ # ]
10
10
ports :
11
11
# Uses `$SUPERTOKENS_CORE_PORT` when available, else 3567 for local port
12
12
- ${SUPERTOKENS_CORE_PORT:-3567}:3567
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ async def test_that_jwks_is_fetched_as_expected(caplog: LogCaptureFixture):
105
105
JWKSConfig .update (original_jwks_config )
106
106
107
107
108
+ @pytest .mark .skip ("Requires core running in DEV + test_mode" )
108
109
async def test_that_jwks_result_is_refreshed_properly (caplog : LogCaptureFixture ):
109
110
"""This test verifies that the cache used to store the pointer to the JWKS result is updated properly when the
110
111
cache expired and the keys need to be refetched.
@@ -160,6 +161,7 @@ async def test_that_jwks_result_is_refreshed_properly(caplog: LogCaptureFixture)
160
161
JWKSConfig .update (original_jwks_config )
161
162
162
163
164
+ @pytest .mark .skip ("Requires core running in DEV + test_mode" )
163
165
async def test_that_jwks_are_refresh_if_kid_is_unknown (caplog : LogCaptureFixture ):
164
166
"""This test verifies that the SDK tried to re-fetch the keys from the core if the KID for the access token
165
167
does not exist in the cache
@@ -605,6 +607,7 @@ async def test_session_verification_of_jwt_with_dynamic_signing_key():
605
607
assert s_ .get_user_id () == "userId"
606
608
607
609
610
+ @pytest .mark .skip ("Requires core running in DEV + test_mode" )
608
611
async def test_that_locking_for_jwks_cache_works (caplog : LogCaptureFixture ):
609
612
caplog .set_level (logging .DEBUG )
610
613
not_returned_from_cache_count = get_log_occurence_count (
You can’t perform that action at this time.
0 commit comments