about summary refs log tree commit homepage
path: root/test/jruby_socket.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/jruby_socket.rb')
-rw-r--r--test/jruby_socket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/jruby_socket.rb b/test/jruby_socket.rb
index b06cb67..fc81368 100644
--- a/test/jruby_socket.rb
+++ b/test/jruby_socket.rb
@@ -8,7 +8,7 @@ require 'socket'
   this_client = server_socket.accept
   4.times do |n|
     begin
-      data = this_client.readpartial(4)
+      data = this_client.readpartial(2)
       puts "Server got:  #{data}"
       if n == 0
         this_client.close