[Groonga-commit] droonga/fluent-plugin-droonga at 3ec04b2 [master] Test with modified key_columns

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Jan 31 18:31:16 JST 2014


YUKI Hiroshi	2014-01-31 18:31:16 +0900 (Fri, 31 Jan 2014)

  New Revision: 3ec04b2a1ac72bc8f7a0a1aca55131c35764bb95
  https://github.com/droonga/fluent-plugin-droonga/commit/3ec04b2a1ac72bc8f7a0a1aca55131c35764bb95

  Message:
    Test with modified key_columns

  Modified files:
    test/unit/plugin/distributor/test_search_planner.rb

  Modified: test/unit/plugin/distributor/test_search_planner.rb (+3 -3)
===================================================================
--- test/unit/plugin/distributor/test_search_planner.rb    2014-01-31 18:28:04 +0900 (2afd0be)
+++ test/unit/plugin/distributor/test_search_planner.rb    2014-01-31 18:31:16 +0900 (0bcec6f)
@@ -1396,7 +1396,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase
       def setup
         @output = {
           "elements"   => ["records"],
-          "attributes" => ["_key", "_nsubrecs"],
+          "attributes" => ["_nsubrecs", "_key"],
           "limit"      => 1,
         }
         @group_by = "family_name"
@@ -1444,7 +1444,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase
                          "records" => {
                            "type"      => "sort",
                            "operators" => [],
-                          "key_column" => 0,
+                          "key_column" => 1,
                            "limit"     => 1,
                          },
                        },
@@ -1456,7 +1456,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase
         assert_equal({
                        "elements" => {
                          "records" => {
-                           "attributes" => ["_key", "_nsubrecs"],
+                           "attributes" => ["_nsubrecs", "_key"],
                            "limit"      => 1,
                          },
                        },
-------------- next part --------------
HTML����������������������������...
Download 



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