summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/heketi/test_heketi_node_operations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/heketi/test_heketi_node_operations.py b/tests/functional/heketi/test_heketi_node_operations.py
index ec53afc0..c4908b3c 100644
--- a/tests/functional/heketi/test_heketi_node_operations.py
+++ b/tests/functional/heketi/test_heketi_node_operations.py
@@ -263,7 +263,7 @@ class TestHeketiNodeOperations(baseclass.BaseClass):
self.additional_gluster_servers_info = (
g.config['additional_gluster_servers'])
return list(self.additional_gluster_servers_info.values())[0]
- except (KeyError, AttributeError):
+ except (KeyError, AttributeError, IndexError):
self.skipTest("Required 'additional_gluster_servers' option is "
"not set in the config file.")