ewollesen / autotest-inotify

Teaches autotest to use inotify (on Linux) instead of filesystem polling.
http://kill-0.com/projects/autotest-inotify
MIT License
18 stars 7 forks source link

Unhandled exception: inotify event queue has overflowed #14

Open huerlisi opened 12 years ago

huerlisi commented 12 years ago

I've got this exception after a 'git checkout branch_x; git rebase master'.

I think it is save to simply discard some inotify events. So it would probably be okay to simply ignore this exception.

Backtrace:

Unhandled exception: inotify event queue has overflowed.
/var/lib/gems/1.8/gems/rb-inotify-0.8.8/lib/rb-inotify/event.rb:120:in `initialize'
  /var/lib/gems/1.8/gems/rb-inotify-0.8.8/lib/rb-inotify/event.rb:100:in `new'
  /var/lib/gems/1.8/gems/rb-inotify-0.8.8/lib/rb-inotify/event.rb:100:in `consume'
  /var/lib/gems/1.8/gems/rb-inotify-0.8.8/lib/rb-inotify/notifier.rb:272:in `read_events'
  /var/lib/gems/1.8/gems/rb-inotify-0.8.8/lib/rb-inotify/notifier.rb:233:in `process'
  /var/lib/gems/1.8/gems/autotest-inotify-0.0.6/lib/autotest/inotify.rb:49:in `wait_for_changes'
  /var/lib/gems/1.8/gems/ZenTest-4.5.0/lib/autotest.rb:336:in `run'
  /var/lib/gems/1.8/gems/ZenTest-4.5.0/lib/autotest.rb:328:in `loop'
  /var/lib/gems/1.8/gems/ZenTest-4.5.0/lib/autotest.rb:328:in `run'
  /var/lib/gems/1.8/gems/ZenTest-4.5.0/lib/autotest.rb:241:in `run'
  /var/lib/gems/1.8/gems/ZenTest-4.5.0/bin/autotest:6
  /var/lib/gems/1.8/bin/autotest:19:in `load'
  /var/lib/gems/1.8/bin/autotest:19
Quitting
filipegiusti commented 12 years ago

I had this when running all my tests (~1500 specs).

dpsk commented 12 years ago

+1

dgilperez commented 12 years ago

+1

any news on this?

rosenfeld commented 8 years ago

My test suite is affected by this as well.