Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libflux/test: Fix race in stat watcher test
Stat watcher test can be racy, where a append + unlink can occur in between polling stat() checks. Thus the test that sees a file size change can be missed. Add a STAT_WAIT state, which will ensure the unlink does not occur until after the file size change has been seen. Fixes #997
- Loading branch information