Skip to content

BUGFIX: Prevent bug causing metrics counter/gauge metrics to stop flushing.

Compare
Choose a tag to compare
@scode scode released this 18 Nov 21:52
· 53 commits to master since this release
6620fd9
tcp_sink_test: add test to verify that Flush() does not hang (#85)

* tcp_sink_test: add test to verify that Flush() does not hang

This is to reproduce the bug introduced by:
  https://github.com/lyft/gostats/pull/79

And verify the change added by:
  https://github.com/lyft/gostats/pull/84

* tcp_sink_test: attempt to break test on Travis CI

It fails locally, but is passing on Travis. Flushing more stats should
hopefully break it.

* travis: run tests without '-race' flag as well

Sometimes '-race' slows execution down too much.  The goal here is get
the Flush() tests to fail on Travis CI.