Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaidashenko committed May 15, 2024
1 parent 0b5d25d commit fad674c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/chains/evm/client/chain_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func TestChainClient_BatchCallContext(t *testing.T) {
}

mockRpc := newMockRpc(t)
mockRpc.On("GetInterceptedChainInfo").Return(commonclient.ChainInfo{}, commonclient.ChainInfo{})
mockRpc.On("GetInterceptedChainInfo").Return(commonclient.ChainInfo{}, commonclient.ChainInfo{}).Maybe()
mockRpc.On("BatchCallContext", mock.Anything, b).Run(func(args mock.Arguments) {
reqs := args.Get(1).([]rpc.BatchElem)
for i := 0; i < len(reqs); i++ {
Expand Down

0 comments on commit fad674c

Please sign in to comment.