Skip to content

Commit c3c16b0

Browse files
committed
Fix a test that was failing because of
Rack::QueryParser::QueryLimitError: total number of query parameters (20001) exceeds limit (4096) This was introduced in rack 3.1.14, see https://github.com/rack/rack/blob/main/CHANGELOG.md#3114---2025-05-06
1 parent 26c5980 commit c3c16b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/huge_payload_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def setup
2323
end
2424

2525
def test_report_handles_huge_payloads
26-
payload = generate_payload((ENV['HUGE_PAYLOAD_SIZE'] || 10000).to_i)
26+
payload = generate_payload((ENV['HUGE_PAYLOAD_SIZE'] || 2000).to_i)
2727

2828
post '/transactions.xml', {}, :input => payload,
2929
'CONTENT_TYPE' => 'application/x-www-form-urlencoded',

0 commit comments

Comments
 (0)