Prepare fake env scripts for removing auth exemption for version

Any valid HTTP response from Nailgun should be treated as if
Nailgun is operational, including 401.

Change-Id: I019a1c10583470064e14914158cc8582a2711ee4
Partial-Bug: #1585137
Co-Authored-By: Vitaly Kramskikh <vkramskikh@mirantis.com>
This commit is contained in:
Alex Schultz
2016-05-31 13:13:18 -06:00
parent 40f7a87eca
commit 90ecd27260

View File

@@ -69,7 +69,7 @@ run_server() {
local http_code=$(curl -s -w %{http_code} -o /dev/null $check_url)
if [[ "$http_code" = "200" ]]; then return 0; fi
if [[ "$http_code" != "000" ]]; then return 0; fi
sleep 0.1
i=$((i + 1))