[Groonga-commit] droonga/drntest at 990f6b9 [master] Revert "Add --exit-on-stalled option to skip running on following tests."

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Mar 20 12:40:41 JST 2015


YUKI Hiroshi	2015-03-20 12:40:41 +0900 (Fri, 20 Mar 2015)

  New Revision: 990f6b9c1152c1eeba63664989fadc4e0686fe61
  https://github.com/droonga/drntest/commit/990f6b9c1152c1eeba63664989fadc4e0686fe61

  Message:
    Revert "Add --exit-on-stalled option to skip running on following tests."
    
    This reverts commit 22502fd37ca6671f5b8e19f8d7589e5cd71fa298.
    It is not required.

  Modified files:
    lib/drntest/configuration.rb
    lib/drntest/tester.rb

  Modified: lib/drntest/configuration.rb (+0 -6)
===================================================================
--- lib/drntest/configuration.rb    2015-03-20 12:39:06 +0900 (fb95c07)
+++ lib/drntest/configuration.rb    2015-03-20 12:40:41 +0900 (8070569)
@@ -20,7 +20,6 @@ module Drntest
     attr_accessor :droonga_engine, :droonga_engine_options
     attr_accessor :catalog_version
     attr_accessor :timeout
-    attr_writer   :exit_on_stalled
 
     def initialize
       @port            = 24224
@@ -32,7 +31,6 @@ module Drntest
       @droonga_engine_options = []
       @catalog_version = "2"
       @timeout         = 1
-      @exit_on_stalled = false
     end
 
     def suite_path
@@ -42,9 +40,5 @@ module Drntest
     def engine_config_path
       @base_path + "config" + @engine_config
     end
-
-    def exit_on_stalled?
-      @exit_on_stalled
-    end
   end
 end

  Modified: lib/drntest/tester.rb (+1 -10)
===================================================================
--- lib/drntest/tester.rb    2015-03-20 12:39:06 +0900 (f16c107)
+++ lib/drntest/tester.rb    2015-03-20 12:40:41 +0900 (efd36c2)
@@ -49,11 +49,7 @@ module Drntest
       tests = load_tests(*targets)
       tests.each do |test|
         test_runner = TestRunner.new(@config, test)
-        result = test_runner.run
-        test_suites_result.test_results << result
-        if result.status == :no_response and****@confi*****_on_stalled?
-          break
-        end
+        test_suites_result.test_results << test_runner.run
       end
 
       puts
@@ -133,11 +129,6 @@ module Drntest
         @config.timeout = timeout
       end
 
-      parser.on("--exit-on-stalled",
-                "Stop running of tests when \"NO RESPONSE\" result appears on any testcase") do
-        @config.exit_on_stalled = true
-      end
-
       parser
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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