Skip to content
Snippets Groups Projects
Commit a06c291e authored by Jake Taylor's avatar Jake Taylor
Browse files

add health tracker test

parent 2d04fbb6
No related branches found
No related tags found
No related merge requests found
...@@ -46,8 +46,11 @@ func TestNewTracker(t *testing.T) { ...@@ -46,8 +46,11 @@ func TestNewTracker(t *testing.T) {
}() }()
// Begin the health tracker // Begin the health tracker
quit := make(chan struct{}) _, err := tracker.Start()
go tracker.start(quit) if err != nil {
t.Errorf("Unable to start tracker: %+v", err)
return
}
// Send a positive health heartbeat // Send a positive health heartbeat
expectedCount := 2 expectedCount := 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment