[Groonga-commit] droonga/droonga-engine at 18cfb8d [master] Specify short time for internal connection lifetime while testing.

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 22 19:52:49 JST 2015


YUKI Hiroshi	2015-04-22 19:52:49 +0900 (Wed, 22 Apr 2015)

  New Revision: 18cfb8def8cfd073d40dbb1b822a9fa639c00dec
  https://github.com/droonga/droonga-engine/commit/18cfb8def8cfd073d40dbb1b822a9fa639c00dec

  Message:
    Specify short time for internal connection lifetime while testing.
    
    Because the default lifetime (60sec) is too long for graceful stop after each test.

  Modified files:
    test/command/run-test.rb

  Modified: test/command/run-test.rb (+3 -1)
===================================================================
--- test/command/run-test.rb    2015-04-22 19:52:23 +0900 (2c33023)
+++ test/command/run-test.rb    2015-04-22 19:52:49 +0900 (61dd3e3)
@@ -43,7 +43,9 @@ log_path = File.expand_path(File.join(base_dir, "tmp", "droonga-engine.log"))
 
 drntest_options = []
 drntest_options.concat(["--base-path", base_dir])
-drntest_options.concat(["--droonga-engine-options", "--log-file=#{log_path}"])
+drntest_options.concat(["--droonga-engine-options",
+                        ["--log-file=#{log_path}",
+                         "--internal-connection-lifetime=5"].join(" ")])
 drntest_options.concat(ARGV)
 
 run("bundle", "exec", "drntest", *drntest_options)
-------------- next part --------------
HTML����������������������������...
Download 



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