summaryrefslogtreecommitdiffstats
path: root/tests/inspector.py
diff options
context:
space:
mode:
authorUmar Farooq <umar.farooq@neclab.eu>2017-07-13 14:51:51 +0200
committerUmar Farooq <umar.farooq@neclab.eu>2017-07-13 14:51:51 +0200
commit7e13330620e235e9611ed1b474bcfb33902797f5 (patch)
tree40e3c64dc0675edaefad374a86ccae21c62101f7 /tests/inspector.py
parent7e0ab6e2149df22455e58eb363eb291a985514de (diff)
Fix host status grep bug and Remove connection_pool argument
Host status returned the wrong output as the "OS-EXT-SRV-ATTR:host" pattern appears twice in the "openstack server show" output. The argument connection_pool is deprecated and is not needed. Change-Id: Ib107e0bad8084bdf6f77689f112bde04bdb97543 Signed-off-by: Umar Farooq <umar.farooq@neclab.eu>
Diffstat (limited to 'tests/inspector.py')
-rw-r--r--tests/inspector.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/inspector.py b/tests/inspector.py
index d11da299..a61051f1 100644
--- a/tests/inspector.py
+++ b/tests/inspector.py
@@ -54,8 +54,7 @@ class DoctorInspectorSample(object):
# Pool of novaclients for redundant usage
for i in range(self.NUMBER_OF_CLIENTS):
self.novaclients.append(
- novaclient.Client(self.NOVA_API_VERSION, session=sess,
- connection_pool=True))
+ novaclient.Client(self.NOVA_API_VERSION, session=sess))
# Normally we use this client for non redundant API calls
self.nova=self.novaclients[0]
self.nova.servers.list(detailed=False)