Skip to content
Snippets Groups Projects
Commit 0fe54825 authored by Bernardo Dal Seno's avatar Bernardo Dal Seno
Browse files

QA: Skip RAPI setup when RAPI is disabled


This is similar to 405692ef, reverted in aeefb4cd.

Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 7dbe4c72
No related branches found
No related tags found
No related merge requests found
......@@ -639,8 +639,9 @@ def RunQa():
RunEnvTests()
SetupCluster(rapi_user, rapi_secret)
# Load RAPI certificate
qa_rapi.Setup(rapi_user, rapi_secret)
if qa_rapi.Enabled():
# Load RAPI certificate
qa_rapi.Setup(rapi_user, rapi_secret)
RunClusterTests()
RunOsTests()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment