Skip to content

Commit

Permalink
server: add test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed Jul 13, 2024
1 parent ebb5790 commit 31dc112
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ func blindedBlockContentsToPayloadDeneb(signedBlindedBlockContents *eth2ApiV1Den
BlockHash: header.BlockHash,
Transactions: make([]bellatrix.Transaction, 0),
Withdrawals: make([]*capella.Withdrawal, 0),
BlobGasUsed: header.BlobGasUsed,
ExcessBlobGas: header.ExcessBlobGas,
},
BlobsBundle: &builderApiDeneb.BlobsBundle{
Commitments: commitments,
Expand Down Expand Up @@ -705,7 +707,7 @@ func TestGetPayload(t *testing.T) {
})

t.Run("Error after max retries are reached", func(t *testing.T) {
backend := newTestBackend(t, 1, 0)
backend := newTestBackend(t, 1, time.Second)

count := 0
maxRetries := 5
Expand Down

0 comments on commit 31dc112

Please sign in to comment.