diff options
| author | vamahaja <vamahaja@redhat.com> | 2019-12-12 15:52:24 +0530 |
|---|---|---|
| committer | vponomar <vponomar@redhat.com> | 2019-12-12 12:56:03 +0000 |
| commit | 2f47edef2d3cb56137000baca6640aec6696c00e (patch) | |
| tree | cf38decb651020d128996c05a32915094f2f9db1 /tests/functional/__init__.py | |
| parent | 512da588160e667b7028115acb4a35c2c5663dce (diff) | |
Handle empty list of 'additional_gluster_servers' correctly
In the 'test_heketi_node_operations::TestHeketiNodeOperations' class,
if we define 'additional_gluster_servers' option, but do not provide
there any value, then we fail. But, "skip" is expected in such situation.
So, catch "IndexError" exception and make tests be skipped after it.
Change-Id: Idfb1cdfc6941d284a4dc8e670c2eb5510eafe744
Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/__init__.py')
0 files changed, 0 insertions, 0 deletions
