mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06: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
|
|
@ -131,9 +131,9 @@ func TestWebsocketLargeRead(t *testing.T) {
|
|||
limit int
|
||||
err bool
|
||||
}{
|
||||
{200, 200, false}, // Small, successful request and limit
|
||||
{wsDefaultReadLimit + buffer, 0, false}, // Large, successful request, infinite limit
|
||||
{wsDefaultReadLimit + buffer, wsDefaultReadLimit, true}, // Large, failed request, finite limit
|
||||
{200, 200, false}, // Small, successful request and limit
|
||||
{2048, 1024, true}, // Normal, failed request
|
||||
{wsDefaultReadLimit + buffer, 0, false}, // Large, successful request, infinite limit
|
||||
} {
|
||||
func() {
|
||||
if tt.limit != 0 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue