Skip to content

Commit

Permalink
Fix for a CI failure due to changes
Browse files Browse the repository at this point in the history
Test-tag: pr test_io_sys_admin test_largefilecount test_smallfilecount test_basic_checkout_dm

Signed-off-by: Saurabh Tandan <saurabh.tandan@intel.com>
  • Loading branch information
saurabhtandan committed Aug 7, 2024
1 parent 9afa882 commit c7e88ba
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/tests/ftest/util/data_mover_test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,23 @@ def run_dm_activities_with_ior(self, tool, pool, cont, create_dataset=False):
daos_path = os.path.join(os.sep, test_file)
else:
self.fail("Invalid tool: {}".format(tool))

# Original flags used for write
flags = self.ior_cmd.flags.value

# Remove read and write from flags if present
flags = re.sub(" *-r", "", flags)
flags = re.sub(" *-R", "", flags)
flags = re.sub(" *-w", "", flags)
flags = re.sub(" *-W", "", flags)

# Remove stonewall
flags = re.sub(" *-D [0-9]+", "", flags)

# Add read flags
flags += " -r -R"

# update ior params, read back and verify data from cont3
self.run_ior_with_params(
"DAOS", daos_path, read_back_pool, read_back_cont,
flags="-r -R -F -k")
flags=flags)

0 comments on commit c7e88ba

Please sign in to comment.