Package list golang-github-go-kit-kit / fc4c50c
TestEmitterStops Peter Bourgon 5 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
7171 t.Errorf("gauge %s want\n%s, have\n%s", name, want, payload)
7272 }
7373 }
74
75 func TestEmitterStops(t *testing.T) {
76 e := NewEmitter("foo", "bar", "baz", time.Second, log.NewNopLogger())
77 time.Sleep(100 * time.Millisecond)
78 e.Stop()
79 }