From 692422babfb76ff2cea216877185a86eecf946e2 Mon Sep 17 00:00:00 2001 From: Lucas Alvares Gomes Date: Wed, 10 Oct 2018 10:33:45 +0100 Subject: [PATCH] Use remote_client from tempest.lib.common instead of tempest.common This patch is replacing the test_attach_interfaces.py module to use the RemoteClient from tempest.lib.common instead of tempest.common. Due to the saner defaults from the new class tests such "test_reassign_port_between_servers" is less prone to fail (see related bug). Also, this patch intentionally does not attempt to replace every occurence of tempest.common.utils.linux.remote_client with its counter-part in tempest.lib because that would require porting some of the methods that exists in the old class to the new one. The focus of this patch is to address the problem described in the related bug. Related-Bug: #1796882 Change-Id: I07bde710581270766f049c7147246971fed6cd91 --- tempest/api/compute/servers/test_attach_interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempest/api/compute/servers/test_attach_interfaces.py b/tempest/api/compute/servers/test_attach_interfaces.py index 1e952a1dc3..2a5d6075e7 100644 --- a/tempest/api/compute/servers/test_attach_interfaces.py +++ b/tempest/api/compute/servers/test_attach_interfaces.py @@ -20,10 +20,10 @@ import six from tempest.api.compute import base from tempest.common import compute from tempest.common import utils -from tempest.common.utils.linux import remote_client from tempest.common.utils import net_utils from tempest.common import waiters from tempest import config +from tempest.lib.common.utils.linux import remote_client from tempest.lib import decorators from tempest.lib import exceptions as lib_exc