Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fi JRUBY-5122_nonblocking_io_spec on Fedora 19 by raising chunk size #551

Merged
merged 1 commit into from

2 participants

@bkabrda

Raise SOCKET_CHANNEL_MIGHT_BLOCK to also block on Fedora 19, OpenJDK 1.7.0.

@bkabrda bkabrda Update spec/regression/JRUBY-5122_nonblocking_io_spec.rb
Raise socket_channel_might_block to also block on Fedora 19, OpenJDK 7.0.
20cd741
@headius
Owner

Seems safe enough for all platforms. Interesting that Fedora has a larger chunk size.

@headius headius merged commit 863516d into jruby:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 26, 2013
  1. @bkabrda

    Update spec/regression/JRUBY-5122_nonblocking_io_spec.rb

    bkabrda authored
    Raise socket_channel_might_block to also block on Fedora 19, OpenJDK 7.0.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/regression/JRUBY-5122_nonblocking_io_spec.rb
View
2  spec/regression/JRUBY-5122_nonblocking_io_spec.rb
@@ -214,7 +214,7 @@
# Oracle's build block with > 131072 (2**17)
# On a Windows 7(64) box:
# Oracle's build does not block (use memory till OOMException)
- SOCKET_CHANNEL_MIGHT_BLOCK = "a" * (65536 * 4)
+ SOCKET_CHANNEL_MIGHT_BLOCK = "a" * (219463 * 4)
it "should not block for write" do
100.times do # for acceleration; it failed w/o wait_for_accepted call
Something went wrong with that request. Please try again.