summaryrefslogtreecommitdiffstats
path: root/tests/functional/afr/test_repl_heal_with_io.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/afr/test_repl_heal_with_io.py')
-rw-r--r--tests/functional/afr/test_repl_heal_with_io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/afr/test_repl_heal_with_io.py b/tests/functional/afr/test_repl_heal_with_io.py
index efcb4a4..0cdff00 100644
--- a/tests/functional/afr/test_repl_heal_with_io.py
+++ b/tests/functional/afr/test_repl_heal_with_io.py
@@ -125,7 +125,7 @@ class TestHealWithIO(GlusterBaseClass):
if self.volume_type.find('distributed') >= 0:
hashed_subvol, index = find_hashed_subvol(
subvols, '',
- self.file_path.rsplit('/', maxsplit=1)[1])
+ self.file_path.rsplit('/', 1)[1])
self.assertIsNotNone(hashed_subvol,
'Unable to find hashed subvolume')
return index