1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Rubocop failures

This commit is contained in:
Nate Berkopec 2019-11-02 16:07:18 -04:00
parent 554c02cfaf
commit 536c3ed4a1
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6

View file

@ -726,10 +726,10 @@ EOF
sock << "ello" sock << "ello"
sock.gets sock.gets
# Could be 1000 but the tests get flaky. We don't care if it's extremely precise so much as that # Could be 1000 but the tests get flaky. We don't care if it's extremely precise so much as that
# it is set to a reasonable number. # it is set to a reasonable number.
assert_operator request_body_wait, :>=, 900 assert_operator request_body_wait, :>=, 900
end end
def test_request_body_wait_chunked def test_request_body_wait_chunked
@ -744,7 +744,7 @@ EOF
sock << "4\r\nello\r\n0\r\n\r\n" sock << "4\r\nello\r\n0\r\n\r\n"
sock.gets sock.gets
# Could be 1000 but the tests get flaky. We don't care if it's extremely precise so much as that # Could be 1000 but the tests get flaky. We don't care if it's extremely precise so much as that
# it is set to a reasonable number. # it is set to a reasonable number.
assert_operator request_body_wait, :>=, 900 assert_operator request_body_wait, :>=, 900