Run integration tests with -race (fixes #1043)

This commit is contained in:
Jakob Borg
2014-11-29 22:17:54 +01:00
parent 7af25c785d
commit 4fdecc9b85
7 changed files with 112 additions and 41 deletions

View File

@@ -120,10 +120,13 @@ func TestStressHTTP(t *testing.T) {
}()
err = <-errChan
if err != nil {
t.Error(err)
}
t.Logf("%.01f reqs/sec", float64(counter)/time.Since(t0).Seconds())
sender.stop()
err = sender.stop()
if err != nil {
t.Error(err)
}