Skip to content

Commit

Permalink
update scheduler test call pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil committed Mar 11, 2024
1 parent 91e6094 commit e82f3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func TestProcessAll(t *testing.T) {
runs: 1,
addStores: true,
requests: requestList(2000),
deliverTxFunc: func(ctx sdk.Context, req types.RequestDeliverTx) (response types.ResponseDeliverTx) {
deliverTxFunc: func(ctx sdk.Context, req types.RequestDeliverTx, tx sdk.Tx, checksum [32]byte) types.ResponseDeliverTx {
defer abortRecoveryFunc(&response)
if ctx.TxIndex()%10 != 0 {
return types.ResponseDeliverTx{
Expand Down

0 comments on commit e82f3b2

Please sign in to comment.