From: Jeff Hostetler Date: Wed, 17 Aug 2022 20:23:57 GMT Subject: Re: t7527 intermittent failure on macOS APFS and possible fix Message-ID: In-Reply-To: On 8/12/22 9:52 AM, Đoàn Trần Công Danh wrote: > 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