Skip to content

Commit

Permalink
Stabilize the Test_Test_Timeout unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 committed Jun 29, 2022
1 parent 12452dd commit d3d6908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_test.go
Expand Up @@ -1299,7 +1299,7 @@ func Test_Test_Timeout(t *testing.T) {
utils.AssertEqual(t, 200, resp.StatusCode, "Status code")

app.Get("timeout", func(c *Ctx) error {
time.Sleep(55 * time.Millisecond)
time.Sleep(100 * time.Millisecond)
return nil
})

Expand Down

1 comment on commit d3d6908

@ReneWerner87
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: d3d6908 Previous: 002d9b5 Ratio
Benchmark_AcquireCtx 1427 ns/op 1440 B/op 5 allocs/op 539.5 ns/op 1440 B/op 5 allocs/op 2.65
Benchmark_App_ETag_Weak 6735 ns/op 1068 B/op 4 allocs/op 3312 ns/op 1068 B/op 4 allocs/op 2.03
Benchmark_Utils_ETag 6602 ns/op 1044 B/op 3 allocs/op 3280 ns/op 1044 B/op 3 allocs/op 2.01
Benchmark_Utils_ETag_Weak 6720 ns/op 1068 B/op 4 allocs/op 3337 ns/op 1068 B/op 4 allocs/op 2.01

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.