diff --git a/e2e/server_test.go b/e2e/server_test.go index bccd6592..0b014fc8 100644 --- a/e2e/server_test.go +++ b/e2e/server_test.go @@ -1,6 +1,8 @@ package e2e_test import ( + "fmt" + "net/http" "strings" "testing" "time" @@ -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)) }