WIP
This commit is contained in:
parent
ccde8c6bf6
commit
c1ad71668b
|
|
@ -270,9 +270,12 @@ class EndToEndTestCase(unittest.TestCase):
|
|||
operator_pod = k8s.get_operator_pod()
|
||||
get_config_cmd = "wget --quiet -O - localhost:8080/config"
|
||||
result = k8s.exec_with_kubectl(operator_pod.metadata.name, get_config_cmd)
|
||||
try:
|
||||
roles_dict = (json.loads(result.stdout)
|
||||
.get("controller", {})
|
||||
.get("InfrastructureRoles"))
|
||||
except:
|
||||
return False
|
||||
|
||||
if "robot_zmon_acid_monitoring_new" in roles_dict:
|
||||
role = roles_dict["robot_zmon_acid_monitoring_new"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue