cloudpulse docker check fails

Change-Id: Iecc57d64cfa3b7301d16b03c17cde35bdf29a068
(cherry picked from commit 34c472d1ab)
This commit is contained in:
Sawan Choudhary 2020-07-20 09:09:04 -07:00 committed by Anand Shanmugam
parent 9ec79f7de8
commit 8d86d2bf9c
2 changed files with 2 additions and 1 deletions

View File

@ -2,3 +2,4 @@
host=review.opendev.org
port=29418
project=x/cloudpulse.git
defaultbranch=stable/train

View File

@ -280,7 +280,7 @@ class operator_scenario(base.Scenario):
docker_down.append(line[0].strip())
elif 'UNREACHABLE' in line[1]:
ssh_failed.append(line[0].strip())
elif 'SUCCESS' in line[1]:
elif any(status in line[1] for status in ['SUCCESS', 'CHANGED']):
if len(line) < 3:
continue
line[3] = line[3].replace(' ', '')