raindrops.git  about / heads / tags
real-time stats for preforking Rack servers
   commit 2025f4e250531b36e5002b0e7c12f0263911ab8e (patch)
   parent 1ab622e tests: support running tests without rack||aggregate
     tree 6f3f4c364727502718e2d3d9a36a501b172cc53d
   author Eric Wong <bofh@yhbt.net>  2023-12-29 17:50:19 +0000
committer Eric Wong <bofh@yhbt.net>  2024-01-15 02:57:58 +0000

test/test_last_data_recv: don't require posix_mq

posix_mq is rarely installed, so don't force users to
have it in order to test or develop raindrops.
 test/test_last_data_recv.rb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test/test_last_data_recv.rb b/test/test_last_data_recv.rb
index b1a5ac6..9643dc6 100644
--- a/test/test_last_data_recv.rb
+++ b/test/test_last_data_recv.rb
@@ -9,6 +9,14 @@
 require 'io/wait'
 class TestLastDataRecv < Test::Unit::TestCase
+  def setup
+    Raindrops::Aggregate::LastDataRecv.default_aggregate = []
+  end
+  def teardown
+    Raindrops::Aggregate::LastDataRecv.default_aggregate = nil
+  end
   def test_accept_nonblock_agg
     s = Socket.new(:INET, :STREAM, 0)

Commit objects reference one tree, and zero or more parents.

Single parent commits can typically generate a patch in
unified diff format via `git format-patch'.

Multiple parents means the commit is a merge.

Root commits have no ancestor.  Note that it is
possible to have multiple root commits when merging independent histories.

Every commit references one top-level tree object.

git clone http://yhbt.net/raindrops.git