Commit c1fb4b6c authored by Robert Schmidt's avatar Robert Schmidt

Run oc logout in background to avoid timeout

parent 11d24ff4
......@@ -384,7 +384,8 @@ class Cluster:
mySSH.command('for pod in $(oc get pods | tail -n +2 | awk \'{print $1}\'); do oc delete pod ${pod}; done', '\$', 60)
mySSH.command('oc logout', '\$', 30)
# logout will return eventually, but we don't care when -> start in background
mySSH.command('oc logout &', '\$', 5)
mySSH.close()
# Analyze the logs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment