Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make looponfail support listen to forward inotify over virtualbox #102

Open
craigds opened this issue Dec 10, 2016 · 1 comment
Open

Make looponfail support listen to forward inotify over virtualbox #102

craigds opened this issue Dec 10, 2016 · 1 comment

Comments

@craigds
Copy link

craigds commented Dec 10, 2016

When using virtualbox (using vboxsf filesystem, or NFS, or ...) there's no way to forward filesystem events from the host to the guest. So filesystem events like inotify don't work, and hence xdist looponfail doesn't work.

A clever solution is to run listen on the host and forward the events to the guest over TCP. The caveat is that the application needs to know how to interpret the events. Guard does this for rails development:

http://jamie.ideasasylum.com/2014/02/efficiently-using-guard-vagrant-rails-development/

@RonnyPfannschmidt
Copy link
Member

@craigds supporting something like that ould be considered if there would be a fs event package with multiple backends and the ability to autoconfigure

its absolutely certainly not something i want to invent just for pytest-xdist

additionally we currently do not use inotify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants