Fix for install_mu_negative test case

Change-Id: I73199063e6a07d9d2d9b2a2fb8aa20b343cd410f
Closes-bug: #1657738
This commit is contained in:
ibumarskov 2017-01-19 17:10:36 +04:00
parent 95c3e710b1
commit 644aee3832
1 changed files with 2 additions and 3 deletions

View File

@ -266,14 +266,13 @@ class MUInstallNoHA(MUInstallBase):
"--restart-rabbit --restart-mysql".format(3)
std_out = self.ssh_manager.check_call(
ip=self.ssh_manager.admin_ip,
command=cmd
command=cmd, expected=[1]
).stderr_str
logger.debug(pretty_log(std_out))
# "fuel2 update" command don't have json output
assert_true(
"HTTPError: 404 Client Error" and
"Cluster not found" in std_out,
"404 Client Error" in std_out and "Cluster not found" in std_out,
"fuel2 update command accept wrong cluster_id: \n{}".format(
std_out))