Skip to content

Commit

Permalink
test(octane/evmengine): fix flapping test (#2542)
Browse files Browse the repository at this point in the history
Fixes flapping test due to fuzzing conflicts.

issue: none
  • Loading branch information
corverroos authored Nov 22, 2024
1 parent f29e120 commit c79954c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion octane/evmengine/keeper/keeper_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import (
"github.com/stretchr/testify/require"
)

//go:generate go test -run=TestKeeper_isNextProposer -count=100 -failfast

func TestKeeper_isNextProposer(t *testing.T) {
t.Parallel()
type args struct {
Expand All @@ -37,7 +39,7 @@ func TestKeeper_isNextProposer(t *testing.T) {
name: "not proposer",
args: args{
height: height,
incMoreTimes: 9,
incMoreTimes: 1,
header: func(height int64) cmtproto.Header {
return cmtproto.Header{Height: height}
},
Expand Down

0 comments on commit c79954c

Please sign in to comment.