Skip to content

Commit 441ac77

Browse files
committed
fix: remove duplicated function
1 parent cb19223 commit 441ac77

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

tests/e2e/support.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,30 +2111,3 @@ def setup_byoidc_user_context(username, password):
21112111
except Exception as e:
21122112
print(f"Error setting up BYOIDC user context: {e}")
21132113
return False
2114-
2115-
2116-
def verify_authentication_stability():
2117-
"""
2118-
Verify that authentication is stable and working before critical operations.
2119-
Simplified version for kube-authkit.
2120-
2121-
Returns:
2122-
bool: True if authentication is stable, False otherwise
2123-
"""
2124-
try:
2125-
# Test basic Kubernetes API access
2126-
k8s_client = initialize_kubernetes_client_standalone()
2127-
if not k8s_client:
2128-
print("WARNING: Could not get authenticated Kubernetes client")
2129-
return False
2130-
2131-
# Test API connectivity with a simple call
2132-
v1 = client.CoreV1Api(k8s_client)
2133-
v1.list_namespace(limit=1)
2134-
2135-
print("✓ Authentication stability verified")
2136-
return True
2137-
2138-
except Exception as e:
2139-
print(f"WARNING: Authentication stability check failed: {e}")
2140-
return False

0 commit comments

Comments
 (0)