Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable WCS auth tests #1251

Merged
merged 3 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions integration/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ def test_authentication_client_credentials(
@pytest.mark.parametrize(
"name,user,env_variable_name,port,scope,warning",
[
(
"WCS",
"ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
"WCS_DUMMY_CI_PW",
WCS_PORT,
None,
False,
),
# ( # WCS keycloak times out too often
# "WCS",
# "ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
# "WCS_DUMMY_CI_PW",
# WCS_PORT,
# None,
# False,
# ),
(
"okta",
"test@test.de",
Expand Down Expand Up @@ -168,12 +168,12 @@ def _get_access_token(url: str, user: str, pw: str) -> Dict[str, str]:
@pytest.mark.parametrize(
"name,user,env_variable_name,port",
[
(
"WCS",
"ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
"WCS_DUMMY_CI_PW",
WCS_PORT,
),
# ( # WCS keycloak times out too often
# "WCS",
# "ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
# "WCS_DUMMY_CI_PW",
# WCS_PORT,
# ),
(
"okta",
"test@test.de",
Expand Down
30 changes: 16 additions & 14 deletions integration_v3/test_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ def test_authentication_client_credentials(
@pytest.mark.parametrize(
"name,user,env_variable_name,port,scope,warning",
[
(
"WCS",
"ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
"WCS_DUMMY_CI_PW",
WCS_PORT,
None,
False,
),
# ( # WCS keycloak times out too often
# "WCS",
# "ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
# "WCS_DUMMY_CI_PW",
# WCS_PORT,
# None,
# False,
# ),
(
"okta",
"test@test.de",
Expand Down Expand Up @@ -168,12 +168,12 @@ def _get_access_token(url: str, user: str, pw: str) -> Dict[str, str]:
@pytest.mark.parametrize(
"name,user,env_variable_name,port",
[
(
"WCS",
"ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
"WCS_DUMMY_CI_PW",
WCS_PORT,
),
# (
# "WCS",
# "ms_2d0e007e7136de11d5f29fce7a53dae219a51458@existiert.net",
# "WCS_DUMMY_CI_PW",
# WCS_PORT,
# ),
(
"okta",
"test@test.de",
Expand Down Expand Up @@ -227,6 +227,8 @@ def test_client_with_authentication_with_anon_weaviate(recwarn):
def test_bearer_token_without_refresh(recwarn):
"""Test that the client warns users when only supplying an access token without refresh."""

pytest.skip("WCS keycloak times out too often")

# testing for warnings can be flaky without this as there are open SSL conections
warnings.filterwarnings(action="ignore", message="unclosed", category=ResourceWarning)
warnings.filterwarnings(action="ignore", message="Dep005", category=DeprecationWarning)
Expand Down