[Groonga-commit] droonga/drntest at 8f1e3d6 [master] Don't start engine if fluentd is missing

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Nov 25 19:14:05 JST 2013


YUKI Hiroshi	2013-11-25 19:14:05 +0900 (Mon, 25 Nov 2013)

  New Revision: 8f1e3d6a6d1afb34b4e40adf5245df3d7e9c65f0
  https://github.com/droonga/drntest/commit/8f1e3d6a6d1afb34b4e40adf5245df3d7e9c65f0

  Message:
    Don't start engine if fluentd is missing

  Modified files:
    lib/drntest/test-runner.rb
    lib/drntest/tester.rb

  Modified: lib/drntest/test-runner.rb (+1 -1)
===================================================================
--- lib/drntest/test-runner.rb    2013-11-25 19:12:02 +0900 (0684469)
+++ lib/drntest/test-runner.rb    2013-11-25 19:14:05 +0900 (0f1e565)
@@ -129,7 +129,7 @@ module Drntest
     end
 
     def temporary_engine?
-      config && config.exist?
+      @owner.fluend && config && config.exist?
     end
 
     def process_requests

  Modified: lib/drntest/tester.rb (+2 -1)
===================================================================
--- lib/drntest/tester.rb    2013-11-25 19:12:02 +0900 (1c902e1)
+++ lib/drntest/tester.rb    2013-11-25 19:14:05 +0900 (c83c51e)
@@ -86,7 +86,8 @@ module Drntest
       @tag  = "droonga"
       @config  = nil
       @catalog = nil
-      @fluentd = `which fluentd`
+      path_to_fluentd = `which fluentd`
+      @fluentd = path_to_fluentd unless path_to_fluentd.empty?
       @pattern = nil
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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