rpc: reduce size of test a bit

This commit is contained in:
lightclient 2025-08-25 15:00:02 -06:00
parent b9b4343dc8
commit d8a0a06426
No known key found for this signature in database
GPG key ID: 657913021EF45A6A

View file

@ -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 {