Run integration tests with -race (fixes #1043)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user