Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAOS-16585 test: disable NLT fstat test for non-redhat systems. #15233

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions utils/node_local_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1521,6 +1521,12 @@ def il_cmd(self, cmd, check_read=True, check_write=True, check_fstat=True):
if self.caching:
check_fstat = False

# DAOS-16585: Disable fstat checking for non Red Hat systems which appear to use a different
# implementation of fstat which isn't yet intercepted. This allows testing to progress in
# the absence of this feature.
if not os.path.exists("/etc/redhat-release"):
check_fstat = False

my_env = get_base_env()
prefix = f'dnt_ioil_{cmd[0]}_{get_inc_id()}_'
with tempfile.NamedTemporaryFile(prefix=prefix, suffix='.log', delete=False) as log_file:
Expand Down
Loading