Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshiyukiMineo authored Feb 15, 2024
2 parents acbe87f + 70f7cbc commit f0152f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.16.x, 1.17.x]
go-version: [1.20.x, 1.21.x]
os: [ubuntu-latest]
runs-on: ${{matrix.os}}
steps:
Expand Down
2 changes: 0 additions & 2 deletions gobreaker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (

var defaultCB *CircuitBreaker
var customCB *CircuitBreaker
var negativeDurationCB *CircuitBreaker

type StateChange struct {
name string
Expand Down Expand Up @@ -111,7 +110,6 @@ func newNegativeDurationCB() *CircuitBreaker {
func init() {
defaultCB = NewCircuitBreaker(Settings{})
customCB = newCustom()
negativeDurationCB = newNegativeDurationCB()
}

func TestStateConstants(t *testing.T) {
Expand Down

0 comments on commit f0152f2

Please sign in to comment.