about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-10-19 09:34:02 +0000
committerEric Wong <normalperson@yhbt.net>2013-10-20 00:09:04 +0000
commit5acc5f9b00ab794597bd7f22a9f361813e9c91a9 (patch)
treeb94c7808a56fae06f73b10d54f70cecc10e63a0d
parentb1370f088cad667c34a96c992708d952e23bff03 (diff)
downloadyahns-5acc5f9b00ab794597bd7f22a9f361813e9c91a9.tar.gz
This should probably made into statistical test to allow for scheduler
unfairness causing imperfect balance between new connections.  For now,
it's easier to skip it since it fails a small percentage of the time.
In real world use, a small amount of imbalance does not matter on
a busy system as long as connections are reasonably well distributed.
-rw-r--r--test/test_server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_server.rb b/test/test_server.rb
index 88dd3fb..649c826 100644
--- a/test/test_server.rb
+++ b/test/test_server.rb
@@ -287,6 +287,7 @@ class TestServer < Testcase
 
   # Linux blocking accept() has fair behavior between multiple tasks
   def test_mp_balance
+    skip("this fails occasionally on Linux, still...")
     skip("linux-only test") unless RUBY_PLATFORM =~ /linux/
     pid, host, port = new_mp_server(2)
     seen = {}