Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
efectn committed Aug 21, 2022
1 parent cb95d4b commit 668d378
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions listen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ func Test_Listen_Graceful_Shutdown(t *testing.T) {
utils.AssertEqual(t, tc.ExceptedErrsLen, len(errs))
}

mu.Lock()
utils.AssertEqual(t, true, shutdown)
mu.Unlock()
}

// go test -run Test_Listen_Prefork
Expand Down

2 comments on commit 668d378

@ReneWerner87
Copy link
Member

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: 668d378 Previous: cb95d4b Ratio
Benchmark_AcquireCtx 1456 ns/op 1568 B/op 5 allocs/op 682.5 ns/op 1568 B/op 5 allocs/op 2.13

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

@ReneWerner87
Copy link
Member

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: 668d378 Previous: db0c28d Ratio
Benchmark_Cache 15898 ns/op 49371 B/op 6 allocs/op 391 ns/op 16 B/op 2 allocs/op 40.66
Benchmark_Cache_AdditionalHeaders 1353 ns/op 592 B/op 9 allocs/op 489.6 ns/op 16 B/op 2 allocs/op 2.76

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

Please sign in to comment.