]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Update out-of-date integration test
authorZack Cerza <zack@redhat.com>
Wed, 18 Feb 2015 18:48:26 +0000 (11:48 -0700)
committerZack Cerza <zack@redhat.com>
Wed, 18 Feb 2015 18:48:26 +0000 (11:48 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/orchestra/test/integration/test_integration.py

index 1fc34966ce3b22d696f4767a68b43945494e2569..a9a528e8933ecec79cbbbdf38b996eeeebf8bc3e 100644 (file)
@@ -41,10 +41,12 @@ class TestIntegration():
             run.run,
             client=ssh,
             args=['sh', '-c', 'kill -ABRT $PPID'],
+            name=HOST,
             )
         assert e.command == "sh -c 'kill -ABRT $PPID'"
         assert str(e) == \
-            "SSH connection was lost: \"sh -c 'kill -ABRT $PPID'\""
+            "SSH connection to {host} was lost: ".format(host=HOST) + \
+            "\"sh -c 'kill -ABRT $PPID'\""
 
     def test_pipe(self):
         ssh = connection.connect(HOST)