diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2020-02-20 00:15:46 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bala12352@gmail.com> | 2020-02-26 06:00:55 +0000 |
commit | 17fa26e1f33e5c29b7ed0e205dc85376948c5f92 (patch) | |
tree | 97446b65c181a15be00a9167ae798e0f3cd87731 /tests/functional/arbiter/test_replacing_all_arbiter_bricks_in_the_volume.py | |
parent | c7658429acadb6429d4d64ff04543dfbff478bc1 (diff) |
[Testfix] Remove python version dependency(Part 2)
Please refer to commit message of patch [1].
[1] https://review.gluster.org/#/c/glusto-tests/+/24140/
Change-Id: Ic0b3b1333ac7b1ae02f701943d49510e6d46c259
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'tests/functional/arbiter/test_replacing_all_arbiter_bricks_in_the_volume.py')
-rwxr-xr-x | tests/functional/arbiter/test_replacing_all_arbiter_bricks_in_the_volume.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/functional/arbiter/test_replacing_all_arbiter_bricks_in_the_volume.py b/tests/functional/arbiter/test_replacing_all_arbiter_bricks_in_the_volume.py index b95a977a0..26c848171 100755 --- a/tests/functional/arbiter/test_replacing_all_arbiter_bricks_in_the_volume.py +++ b/tests/functional/arbiter/test_replacing_all_arbiter_bricks_in_the_volume.py @@ -14,7 +14,6 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -import sys from glusto.core import Glusto as g @@ -147,14 +146,9 @@ class TestArbiterSelfHeal(GlusterBaseClass): mount_obj.client_system, mount_obj.mountpoint) # Create dirs with file g.log.info('Creating dirs with file...') - command = ("/usr/bin/env python%d %s create_deep_dirs_with_files " - "-d 3 " - "-l 3 " - "-n 3 " - "-f 20 " - "%s" % ( - sys.version_info.major, self.script_upload_path, - mount_obj.mountpoint)) + command = ("/usr/bin/env python %s create_deep_dirs_with_files " + "-d 3 -l 3 -n 3 -f 20 %s" + % (self.script_upload_path, mount_obj.mountpoint)) proc = g.run_async(mount_obj.client_system, command, user=mount_obj.user) |