summaryrefslogtreecommitdiffstats
path: root/tests/functional/afr/heal/test_no_glustershd_with_distribute.py
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2021-01-13 11:03:20 +0530
committerkshithijiyer <kshithij.ki@gmail.com>2021-01-13 11:03:20 +0530
commit3ee1732cddf09375c7f27cf6b7560a9ebe4f938f (patch)
treea53c6e1b7c2b626373f32d194570a3d3ee73e1e7 /tests/functional/afr/heal/test_no_glustershd_with_distribute.py
parent88ca423e4119258e60e4f6b623e3bbb901f2fe6f (diff)
[Testfix] Fix setup bug in test_no_glustershd_with_distribute
Problem: In test_no_glustershd_with_distribute, we are trying to setup all volume types at once where it fails on setup in CI as we don't have sufficiant bricks. Solution: Enable brick sharing in setup_volume() by setting multi_vol to True. Change-Id: I2129e3059fd156138d0a874d6aa6904f3cb0cb9b Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'tests/functional/afr/heal/test_no_glustershd_with_distribute.py')
-rw-r--r--tests/functional/afr/heal/test_no_glustershd_with_distribute.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/afr/heal/test_no_glustershd_with_distribute.py b/tests/functional/afr/heal/test_no_glustershd_with_distribute.py
index d2b43bfe3..bbefe0cff 100644
--- a/tests/functional/afr/heal/test_no_glustershd_with_distribute.py
+++ b/tests/functional/afr/heal/test_no_glustershd_with_distribute.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2018 Red Hat, Inc. <http://www.redhat.com>
+# Copyright (C) 2017-2021 Red Hat, Inc. <http://www.redhat.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -58,7 +58,7 @@ class SelfHealDaemonProcessTestsWithMultipleVolumes(GlusterBaseClass):
for volume_config in cls.volume_configs:
ret = setup_volume(mnode=cls.mnode,
all_servers_info=cls.all_servers_info,
- volume_config=volume_config)
+ volume_config=volume_config, multi_vol=True)
volname = volume_config['name']
if not ret:
raise ExecutionError("Failed to setup Volume"