diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-06-27 00:18:08 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-07-10 00:55:54 +0000 |
commit | 331e7a1300ae59a052763ffecc77b45a56e2deb3 (patch) | |
tree | 6687bb899c5932e6f0fa0907b9ecc3fd2fcf5e4e /test/mgmt.rb | |
parent | d9486d154f69be2bbe44dbc8ea74efce1d0195ad (diff) | |
download | cmogstored-331e7a1300ae59a052763ffecc77b45a56e2deb3.tar.gz |
We'll be allowing the migration of buffers between threads and from waiting clients back to thread-local storage.
Diffstat (limited to 'test/mgmt.rb')
-rw-r--r-- | test/mgmt.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/mgmt.rb b/test/mgmt.rb index 7101245..7a7c432 100644 --- a/test/mgmt.rb +++ b/test/mgmt.rb @@ -371,4 +371,14 @@ class TestMgmt < Test::Unit::TestCase fp.write('.') end end + + def test_gigantic_path + @client.write("MD5 /foo ") + (1..50000).each do |i| + @client.write((i % 10).to_s) + end + @client.write("\r\n") + output = @client.gets + assert_equal "/foo MD5=-1\r\n", output + end end |