You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Op field of fsnotify.Event is a bitmask and some systems may send multiple operations at once. We should use the Event.Has() method instead of comparing with ==.
The failure above was caused by an multiple operations event.
The text was updated successfully, but these errors were encountered:
Describe the bug
When working on #8395, I observed another testing failure:
Steps to reproduce
Run
go test -v -run TestErrorRecordedIfFileDeleted -race -count 1000 .
underconfig/configtls
.Environment
OS: macOS 13.2.1
Compiler(if manually compiled): go1.20.3
Additional context
The
Op
field offsnotify.Event
is a bitmask and some systems may send multiple operations at once. We should use theEvent.Has()
method instead of comparing with==
.The failure above was caused by an multiple operations event.
The text was updated successfully, but these errors were encountered: