mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
rpc: reduce size of test a bit
This commit is contained in:
parent
b9b4343dc8
commit
d8a0a06426
1 changed files with 3 additions and 3 deletions
|
|
@ -132,8 +132,8 @@ func TestWebsocketLargeRead(t *testing.T) {
|
||||||
err bool
|
err bool
|
||||||
}{
|
}{
|
||||||
{200, 200, false}, // Small, successful request and limit
|
{200, 200, false}, // Small, successful request and limit
|
||||||
|
{2048, 1024, true}, // Normal, failed request
|
||||||
{wsDefaultReadLimit + buffer, 0, false}, // Large, successful request, infinite limit
|
{wsDefaultReadLimit + buffer, 0, false}, // Large, successful request, infinite limit
|
||||||
{wsDefaultReadLimit + buffer, wsDefaultReadLimit, true}, // Large, failed request, finite limit
|
|
||||||
} {
|
} {
|
||||||
func() {
|
func() {
|
||||||
if tt.limit != 0 {
|
if tt.limit != 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue