[Groonga-commit] groonga/groonga-query-log at 58a8214 [master] test replayer: add a test for port option

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jul 5 18:34:41 JST 2013


Kouhei Sutou	2013-07-05 18:34:41 +0900 (Fri, 05 Jul 2013)

  New Revision: 58a821484d47349c1e42213a94e1858384a89d5a
  https://github.com/groonga/groonga-query-log/commit/58a821484d47349c1e42213a94e1858384a89d5a

  Message:
    test replayer: add a test for port option

  Modified files:
    test/test-replayer.rb

  Modified: test/test-replayer.rb (+7 -0)
===================================================================
--- test/test-replayer.rb    2013-07-05 18:34:10 +0900 (8727a73)
+++ test/test-replayer.rb    2013-07-05 18:34:41 +0900 (6402f04)
@@ -30,6 +30,13 @@ class ReplayerTest < Test::Unit::TestCase
       replay
     end
 
+    def test_port
+      port = 2929
+      @options.port = 2929
+      mock_client_open(:port => 2929)
+      replay
+    end
+
     private
     def replay
       replayer = Groonga::QueryLog::Replayer.new(@options)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index