YUKI Hiroshi
null+****@clear*****
Mon Jan 20 18:56:31 JST 2014
YUKI Hiroshi 2014-01-20 18:56:31 +0900 (Mon, 20 Jan 2014) New Revision: 10f5cedb2e1971166a84c9374c48340449cb618c https://github.com/droonga/fluent-plugin-droonga/commit/10f5cedb2e1971166a84c9374c48340449cb618c Message: Use local express-droonga automatically Modified files: test/performance/run-test.rb Modified: test/performance/run-test.rb (+5 -4) =================================================================== --- test/performance/run-test.rb 2014-01-20 18:54:52 +0900 (f87a392) +++ test/performance/run-test.rb 2014-01-20 18:56:31 +0900 (c8e8dbb) @@ -40,10 +40,11 @@ drnbench_options.concat(["--subscribe-request-file", drnbench_options.concat(["--feed-file", File.join(base_dir, "watch", "feed.json")]) -drnbench_options.concat(["--protocol-adapter-port", 13000]) -drnbench_options.concat(["--protocol-adapter-application-dir", - File.join(base_dir, "..", "..", "..", "express-droonga")]) -drnbench_options.concat(["--protocol-adapter-port", 13000]) +protocol_adapter_dir = File.join(base_dir, "..", "..", "..", "express-droonga") +if File.exist?(protocol_adapter_dir) + drnbench_options.concat(["--protocol-adapter-application-dir", protocol_adapter_dir]) + drnbench_options.concat(["--protocol-adapter-port", 13000]) +end drnbench_options.concat(["--engine-config-path", File.join(base_dir, "watch")]) -------------- next part -------------- HTML����������������������������... ダウンロード