Skip to content

Commit 03fc609

Browse files
committed
Fix e2e test regex to match new resolve_auth error message
The error for missing tokens changed from "Missing or malformed Authorization header" to "Missing authentication" when auth was unified through resolve_auth. Update the regex to match.
1 parent a98bec7 commit 03fc609

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/iris/tests/e2e/test_smoke.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ def test_static_auth_rpc_access():
995995

996996
# Unauthenticated: should be rejected with 401
997997
unauth_client = ControllerServiceClientSync(address=url, timeout_ms=5000)
998-
with pytest.raises(ConnectError, match=r"(?i)authorization"):
998+
with pytest.raises(ConnectError, match=r"(?i)authenticat"):
999999
unauth_client.list_workers(list_req)
10001000
unauth_client.close()
10011001

0 commit comments

Comments
 (0)