Navigation Menu

Skip to content

Commit

Permalink
Specify short time for internal connection lifetime while testing.
Browse files Browse the repository at this point in the history
Because the default lifetime (60sec) is too long for graceful stop after each test.
  • Loading branch information
piroor committed Apr 22, 2015
1 parent af39cde commit 18cfb8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/command/run-test.rb
Expand Up @@ -43,7 +43,9 @@ def run(*command_line)

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)

0 comments on commit 18cfb8d

Please sign in to comment.