Skip to content

Commit 8c3f915

Browse files
authored
Merge pull request #1251 from weaviate/disable_wcs_auth_tests
disable WCS auth tests
2 parents e974108 + 10b1097 commit 8c3f915

File tree

2 files changed

+30
-28
lines changed

2 files changed

+30
-28
lines changed

integration/test_auth.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ def test_authentication_client_credentials(
6666
@pytest.mark.parametrize(
6767
"name,user,env_variable_name,port,scope,warning",
6868
[
69-
(
70-
"WCS",
71-
"ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
72-
"WCS_DUMMY_CI_PW",
73-
WCS_PORT,
74-
None,
75-
False,
76-
),
69+
# ( # WCS keycloak times out too often
70+
# "WCS",
71+
# "ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
72+
# "WCS_DUMMY_CI_PW",
73+
# WCS_PORT,
74+
# None,
75+
# False,
76+
# ),
7777
(
7878
"okta",
7979
"test@test.de",
@@ -168,12 +168,12 @@ def _get_access_token(url: str, user: str, pw: str) -> Dict[str, str]:
168168
@pytest.mark.parametrize(
169169
"name,user,env_variable_name,port",
170170
[
171-
(
172-
"WCS",
173-
"ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
174-
"WCS_DUMMY_CI_PW",
175-
WCS_PORT,
176-
),
171+
# ( # WCS keycloak times out too often
172+
# "WCS",
173+
# "ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
174+
# "WCS_DUMMY_CI_PW",
175+
# WCS_PORT,
176+
# ),
177177
(
178178
"okta",
179179
"test@test.de",

integration_v3/test_authentication.py

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ def test_authentication_client_credentials(
8989
@pytest.mark.parametrize(
9090
"name,user,env_variable_name,port,scope,warning",
9191
[
92-
(
93-
"WCS",
94-
"ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
95-
"WCS_DUMMY_CI_PW",
96-
WCS_PORT,
97-
None,
98-
False,
99-
),
92+
# ( # WCS keycloak times out too often
93+
# "WCS",
94+
# "ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
95+
# "WCS_DUMMY_CI_PW",
96+
# WCS_PORT,
97+
# None,
98+
# False,
99+
# ),
100100
(
101101
"okta",
102102
"test@test.de",
@@ -168,12 +168,12 @@ def _get_access_token(url: str, user: str, pw: str) -> Dict[str, str]:
168168
@pytest.mark.parametrize(
169169
"name,user,env_variable_name,port",
170170
[
171-
(
172-
"WCS",
173-
"ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
174-
"WCS_DUMMY_CI_PW",
175-
WCS_PORT,
176-
),
171+
# (
172+
# "WCS",
173+
# "ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
174+
# "WCS_DUMMY_CI_PW",
175+
# WCS_PORT,
176+
# ),
177177
(
178178
"okta",
179179
"test@test.de",
@@ -227,6 +227,8 @@ def test_client_with_authentication_with_anon_weaviate(recwarn):
227227
def test_bearer_token_without_refresh(recwarn):
228228
"""Test that the client warns users when only supplying an access token without refresh."""
229229

230+
pytest.skip("WCS keycloak times out too often")
231+
230232
# testing for warnings can be flaky without this as there are open SSL conections
231233
warnings.filterwarnings(action="ignore", message="unclosed", category=ResourceWarning)
232234
warnings.filterwarnings(action="ignore", message="Dep005", category=DeprecationWarning)

0 commit comments

Comments
 (0)