[Groonga-commit] droonga/fluent-plugin-droonga at 30e552b [master] Specify limit=-1 for test reducers

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Nov 28 15:05:51 JST 2013


YUKI Hiroshi	2013-11-28 15:05:51 +0900 (Thu, 28 Nov 2013)

  New Revision: 30e552b3c4f0d102f10dd2d01cb414a506b5fb61
  https://github.com/droonga/fluent-plugin-droonga/commit/30e552b3c4f0d102f10dd2d01cb414a506b5fb61

  Message:
    Specify limit=-1 for test reducers

  Modified files:
    test/unit/plugin/collector/test_basic.rb

  Modified: test/unit/plugin/collector/test_basic.rb (+14 -3)
===================================================================
--- test/unit/plugin/collector/test_basic.rb    2013-11-28 15:02:41 +0900 (a3ad181)
+++ test/unit/plugin/collector/test_basic.rb    2013-11-28 15:05:51 +0900 (e6b9073)
@@ -75,9 +75,18 @@ class BasicCollectorTest < Test::Unit::TestCase
             "body" => {
               input_name => {
                 output_name => {
-                  "numeric_value" => { "type" => "sum" },
-                  "numeric_key_records" => { "type" => "sum" },
-                  "string_key_records" => { "type" => "sum" },
+                  "numeric_value" => {
+                    "type" => "sum",
+                    "limit" => -1,
+                  },
+                  "numeric_key_records" => {
+                    "type" => "sum",
+                    "limit" => -1,
+                  },
+                  "string_key_records" => {
+                    "type" => "sum",
+                    "limit" => -1,
+                  },
                 },
               },
             },
@@ -234,10 +243,12 @@ class BasicCollectorTest < Test::Unit::TestCase
                   "numeric_key_records" => {
                     "type" => "sort",
                     "order" => ["<"],
+                    "limit" => -1,
                   },
                   "string_key_records" => {
                     "type" => "sort",
                     "order" => ["<"],
+                    "limit" => -1,
                   },
                 },
               },
-------------- next part --------------
HTML����������������������������...
Download 



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