[Groonga-commit] groonga/groonga-query-log at b27811b [master] run-regression-test: use a predicate method

Zurück zum Archiv-Index
Yasuhiro Horimoto null+****@clear*****
Tue Nov 6 17:54:37 JST 2018


Yasuhiro Horimoto	2018-11-06 17:54:37 +0900 (Tue, 06 Nov 2018)

  Revision: b27811b426c54f0f4e369962e9775030f6e38bbe
  https://github.com/groonga/groonga-query-log/commit/b27811b426c54f0f4e369962e9775030f6e38bbe

  Merged a90ef28: Merge pull request #35 from komainu8/improve_stop_on_failure

  Message:
    run-regression-test: use a predicate method

  Modified files:
    lib/groonga-query-log/server-verifier.rb

  Modified: lib/groonga-query-log/server-verifier.rb (+5 -1)
===================================================================
--- lib/groonga-query-log/server-verifier.rb    2018-11-06 17:43:55 +0900 (4e2fad9)
+++ lib/groonga-query-log/server-verifier.rb    2018-11-06 17:54:37 +0900 (7cfc1bb)
@@ -39,7 +39,7 @@ module GroongaQueryLog
       producer.join
       @different_results.push(nil)
       reporter.join
-      @same and !@client_error_is_occurred
+      different_or_error_results?
     end
 
     private
@@ -136,6 +136,10 @@ module GroongaQueryLog
       @options.target_command_name?(command.command_name)
     end
 
+    def  different_or_error_results?
+      @same and !@client_error_is_occurred
+    end
+
     def verify_command(groonga1_client, groonga2_client, command)
       command["cache"] = "no" if****@optio*****_cache?
       command["output_type"] = "json"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181106/6dcc1aa4/attachment.html>


More information about the Groonga-commit mailing list
Zurück zum Archiv-Index