Re: t7527 intermittent failure on macOS APFS and possible fix
- From
- Jeff Hostetler <git@jeffhostetler.com>
- Date
- Aug 17, 2022, 20:23 UTC
- Message-ID
- <a68f842a-4c96-3639-ca0c-48b79f146182@jeffhostetler.com>
- In-Reply-To
- <YvZbGAf+82WtNXcJ@danh.dev>
On 8/12/22 9:52 AM, Đoàn Trần Công Danh wrote:
Show 17 quoted lines
> Hello, > > Running t7527 on macOS with encrypted APFS filesystem. > I observes intermittent failure, however, when I manually check the > test cases, they're all passed. > > I suspected fileystem caching issue. > I added those sync-s into test steps and the test pass. > I'm not sure if this is the intending "fix" for the tests > since we're testing the fsmonitor with t7527. > > Please advise! > > P/S: When debugging, I also found out that: > "test-tool fsmonitor-client query" doesn't write the final newline > character, thus making the output harder to read. The diff also have > the final newline added.
Thanks for the report. Sorry for the delay, I'm still digging thru my email backlog after a long vacation. I'll take a look at this and get back to you shortly.
Thanks, Jeff