From 04107b5f596a62ac6209a84cdf17cb83d3425a08 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 22 May 2015 15:38:35 -0600 Subject: [PATCH] Create fake Remotes in a more standard way This avoids them wanting to run 'hostname --fqdn' on remote nodes that don't exist Signed-off-by: Zack Cerza --- teuthology/test/task/test_ansible.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teuthology/test/task/test_ansible.py b/teuthology/test/task/test_ansible.py index 1fa608ffde..79cd79d495 100644 --- a/teuthology/test/task/test_ansible.py +++ b/teuthology/test/task/test_ansible.py @@ -19,8 +19,8 @@ class TestAnsibleTask(TestTask): def setup(self): self.ctx = FakeNamespace() self.ctx.cluster = Cluster() - self.ctx.cluster.add(Remote('remote1'), ['role1']) - self.ctx.cluster.add(Remote('remote2'), ['role2']) + self.ctx.cluster.add(Remote('user@remote1'), ['role1']) + self.ctx.cluster.add(Remote('user@remote2'), ['role2']) self.ctx.config = dict() def test_setup(self): -- 2.39.5