summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ironic/drivers/modules/agent_client.py3
-rw-r--r--ironic/tests/unit/drivers/modules/test_agent_client.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/ironic/drivers/modules/agent_client.py b/ironic/drivers/modules/agent_client.py
index d3bedeb1d..46ca56369 100644
--- a/ironic/drivers/modules/agent_client.py
+++ b/ironic/drivers/modules/agent_client.py
@@ -161,8 +161,7 @@ class AgentClient(object):
}
return self._command(node=node,
method='clean.execute_clean_step',
- params=params,
- wait=False)
+ params=params)
def power_off(self, node):
"""Soft powers off the bare metal node by shutting down ramdisk OS."""
diff --git a/ironic/tests/unit/drivers/modules/test_agent_client.py b/ironic/tests/unit/drivers/modules/test_agent_client.py
index 39e45db0b..420040859 100644
--- a/ironic/tests/unit/drivers/modules/test_agent_client.py
+++ b/ironic/tests/unit/drivers/modules/test_agent_client.py
@@ -212,7 +212,7 @@ class TestAgentClient(base.TestCase):
ports)
self.client._command.assert_called_once_with(
node=self.node, method='clean.execute_clean_step',
- params=expected_params, wait=False)
+ params=expected_params)
def test_power_off(self):
self.client._command = mock.MagicMock(spec_set=[])