MCPcopy Create free account
hub / github.com/hpcloud/tail / TestReOpenInotify

Function TestReOpenInotify

tail_test.go:214–216  ·  view source on GitHub ↗

The use of polling file watcher could affect file rotation (detected via renames), so test these explicitly.

(t *testing.T)

Source from the content-addressed store, hash-verified

212// (detected via renames), so test these explicitly.
213
214func TestReOpenInotify(t *testing.T) {
215 reOpen(t, false)
216}
217
218func TestReOpenPolling(t *testing.T) {
219 reOpen(t, true)

Callers

nothing calls this directly

Calls 1

reOpenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…