From 8b47c8a37f4e9a94f0db1d6755988ccdb507f8ea Mon Sep 17 00:00:00 2001 From: Dariusz Smigiel <1412617+dasm@users.noreply.github.com> Date: Fri, 2 Apr 2021 07:40:00 -0700 Subject: [PATCH] Change the way how I'm checking state --- zaza/openstack/charm_tests/mysql/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/mysql/tests.py b/zaza/openstack/charm_tests/mysql/tests.py index 6e0de25..2226893 100644 --- a/zaza/openstack/charm_tests/mysql/tests.py +++ b/zaza/openstack/charm_tests/mysql/tests.py @@ -662,7 +662,7 @@ class MySQLInnoDBClusterColdStartTest(MySQLBaseTest): 'i-really-mean-it': True }) - assert "Success" in action.data["results"]["outcome"], ( + assert action.data.get("results")["outcome"] is not Noe, ( "Force quorum using partition of action failed: {}" .format(action.data))