diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2020-06-22 20:09:23 +0530 |
---|---|---|
committer | kshithijiyer <kshithij.ki@gmail.com> | 2020-06-22 20:16:41 +0530 |
commit | 17bda60f4df608f93963a4e8e984cfe9a09851a2 (patch) | |
tree | 52279e9603041eecbaf04dafd9ea3fa908c73817 /tests/functional/afr/test_brick_process_not_started_on_read_only_node_disks.py | |
parent | 580bb9c3d74414e53c742f9f615c3e72cf1476b4 (diff) |
[Testfix] Fix I/O of test_snap_delete_multiple
Problem:
test_snap_delete_multiple fails on I/O validation across all automation
runs constantly with the below trace back:
Traceback (most recent call last):
File "/usr/share/glustolibs/io/scripts/file_dir_ops.py", line 1246, in <module>
rc = args.func(args)
File "/usr/share/glustolibs/io/scripts/file_dir_ops.py", line 374, in create_files
base_file_name, file_types)
File "/usr/share/glustolibs/io/scripts/file_dir_ops.py", line 341, in _create_files
ret = pool.map(lambda file_tuple: _create_file(*file_tuple), files)
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 250, in map
return self.map_async(func, iterable, chunksize).get()
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 554, in get
raise self._value
IOError: [Errno 17] File exists: '/mnt/testvol_distributed_glusterfs/testfile42.txt'
Fix:
Change the I/O to use --base-file-name parameter when running the I/O
scripts.
Change-Id: Ic5a8222f4fafeac4ac9aadc9c4d23327711ed9f0
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'tests/functional/afr/test_brick_process_not_started_on_read_only_node_disks.py')
0 files changed, 0 insertions, 0 deletions