Skip to content

Commit

Permalink
fix: Return 400 when blobs exceed max limit - update oversized blob test
Browse files Browse the repository at this point in the history
  • Loading branch information
epociask committed Sep 20, 2024
1 parent 97c51a0 commit 3567313
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/server_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package e2e_test

import (
"fmt"
"net/http"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -185,7 +187,7 @@ func TestProxyServerWithOversizedBlob(t *testing.T) {
}

require.True(t, oversizedError)
require.ErrorIs(t, err, store.ErrProxyOversizedBlob, store.ErrEigenDAOversizedBlob)
require.Contains(t, err.Error(), fmt.Sprint(http.StatusBadRequest))

}

Expand Down

0 comments on commit 3567313

Please sign in to comment.