Skip to content

Commit

Permalink
restore bench test
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Oct 23, 2023
1 parent 01bc09f commit 3c91bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func TestBenchmark_Cleanup(t *testing.T) {
MinRespTime: (time.Millisecond * 50).Microseconds(), MaxRespTime: (time.Millisecond * 50).Microseconds()}, res)
}
{
res := bench.Stats(time.Minute - time.Second)
res := bench.Stats(time.Minute)
t.Logf("%+v", res)
assert.Equal(t, BenchmarkStats{Requests: 60, RequestsSec: 1, AverageRespTime: 50000,
MinRespTime: (time.Millisecond * 50).Microseconds(), MaxRespTime: (time.Millisecond * 50).Microseconds()}, res)
Expand Down

0 comments on commit 3c91bb4

Please sign in to comment.