Skip to content

test(files): make watcher propagation mtime regression test deterministic#62329

Open
joshtrichards wants to merge 1 commit into
masterfrom
jtr/test-ViewTest-watcher
Open

test(files): make watcher propagation mtime regression test deterministic#62329
joshtrichards wants to merge 1 commit into
masterfrom
jtr/test-ViewTest-watcher

Conversation

@joshtrichards

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

  • The existing watcher regression test could pass if the cached mtime and request timestamp land in the same second.
  • The test now uses a fixed root mtime and etag before accessing the folder.
  • Checking the etag as well is valid, because an unwanted propagation can invalidate ancestor etags.

Related/context: #59539

Assisted-by: GitHubCopilot:GPT-5

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

- The existing watcher regression test could pass if the cached mtime and request timestamp land in the same second.
- The test now uses a fixed root mtime and etag before accessing the folder.
- Checking the etag as well is valid, because an unwanted propagation can invalidate ancestor etags.

Assisted-by: GitHubCopilot:GPT-5

Signed-off-by: Josh <josh.t.richards@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants