fuse
fuse copied to clipboard
fuse.Conn.Ready closes before mount is visible in /proc/mounts
This makes tests using fstestutil.GetMountInfo racy.
$ go test ./... -test.count=100
...
--- FAIL: TestMountOptionFSNameEvilTab (0.00s)
options_test.go:75: mount not found
I haven't yet verified whether there's some sort of a delay mechanism in kernel (either fuse or proc), or if we got Ready semantics wrong.
Workaround in place: https://github.com/bazil/fuse/commit/7084418246670b17810b8af332b63cdf13440c9b