Intermittent test failure on OS X (kqueue)
nathany opened this issue · 3 comments
nathany commented
On OS X 10.8.5 I sometimes see the following test failure:
--- FAIL: TestFsnotifySubDir (0.70 seconds)
fsnotify_test.go:558: event received: "/var/folders/9g/167chryj3pgbrgx74j0464q00000gn/T/7358485684450452136/sub": CREATE
fsnotify_test.go:558: event received: "/var/folders/9g/167chryj3pgbrgx74j0464q00000gn/T/7358485684450452136/sub": DELETE
fsnotify_test.go:558: event received: "/var/folders/9g/167chryj3pgbrgx74j0464q00000gn/T/7358485684450452136/TestFsnotifyFile1.testfile": DELETE
fsnotify_test.go:611: incorrect number of create events received after 500 ms (1 vs 2)
FAIL
FAIL github.com/howeyc/fsnotify 5.903s
I haven't seen it on BSD yet.
nathany commented
I also ran into an odd situation where all my other listeners (Ruby guard, Tower app) quit working properly after a weekend of hacking on fsnotify. Not sure if that is related at all, and I've haven't been able to reproduce it since.
nathany commented
Any ideas? Still happens sometimes, even with Spotlight ignoring my go folder, and with the latest fixes on master.
nathany commented
This issue was related to missing create events, which is now resolved at https://github.com/go-fsnotify/fsnotify.