Skip to content

Commit

Permalink
Add retry logic to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 committed Sep 6, 2022
1 parent 6ed1dff commit 56fe650
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ jobs:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Run Test
run: go test ./... -v -race
uses: nick-fields/retry@v2
with:
max_attemps: 3
command: go test ./... -v -race

1 comment on commit 56fe650

@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: 56fe650 Previous: 61b07f1 Ratio
Benchmark_Cache 10554 ns/op 49370 B/op 6 allocs/op 379.5 ns/op 16 B/op 2 allocs/op 27.81
Benchmark_Cache_AdditionalHeaders 1183 ns/op 592 B/op 9 allocs/op 501.6 ns/op 16 B/op 2 allocs/op 2.36

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

Please sign in to comment.