You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rob Watson cbdcef097f
continuous-integration/drone/push Build is passing Details
Fix race condition in tests
In normal usage, the io.Writer passed to the watcher is typically
`os.Stdout` and does not require locking because it is not being read
from inside the same process.

In tests however, the io.Writer was a *bytes.Buffer which is read
concurrently from another goroutine, introducing a race condition. This
fixes the issue in the test suite by introducing a wrapper around
*bytes.Buffer which implements the required locking.
9 months ago
..
helpers.go Support other resource types 10 months ago
helpers_test.go Support other resource types 10 months ago
pod_watcher.go Fix race condition in tests 9 months ago
pod_watcher_test.go Fix race condition in tests 9 months ago
watcher.go Fix race condition in tests 9 months ago
watcher_test.go Fix race condition in tests 9 months ago