Skip to content

Commit

Permalink
Merge pull request #1148 from gnuoy/allow-401
Browse files Browse the repository at this point in the history
Allow 401s when checking endpoints
  • Loading branch information
hemanthnakkina authored Oct 6, 2023
2 parents c16f070 + ea7025c commit 7bd8920
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion zaza/openstack/charm_tests/keystone/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,9 @@ def wait_for_all_endpoints(interface='public'):
interface=interface):
wait_for_url(
ep.url,
[requests.codes.ok, requests.codes.multiple_choices])
# Heat cloudformation and orchestration return 400 and 401
[
requests.codes.ok,
requests.codes.multiple_choices,
requests.codes.bad_request,
requests.codes.unauthorized])

0 comments on commit 7bd8920

Please sign in to comment.