Skip to content

Commit c22c72b

Browse files
NikratioCopilot
andauthored
Update test/test_examples.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9b0413e commit c22c72b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_examples.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,10 @@ def assert_same_stats(name1, name2, check_times: bool = True):
474474
if name.endswith('_ns') and os.getenv('CI') == 'true':
475475
continue
476476

477-
# Skip time checks when writeback cache is enabled
477+
# When FUSE writeback cache is enabled, the kernel maintains mtime/ctime
478+
# internally and only flushes them to the underlying filesystem on close.
479+
# Until then, the timestamps reported for the passthrough mount and the
480+
# backing directory may legitimately differ, so skip strict time checks.
478481
if name.endswith('_ns') and not check_times:
479482
continue
480483

0 commit comments

Comments
 (0)