YUKI Hiroshi
null+****@clear*****
Wed Dec 4 15:03:34 JST 2013
YUKI Hiroshi 2013-12-04 15:03:34 +0900 (Wed, 04 Dec 2013) New Revision: 3c710d4ec6f12cc891d30a045a9b39feef8fc423 https://github.com/droonga/fluent-plugin-droonga/commit/3c710d4ec6f12cc891d30a045a9b39feef8fc423 Message: Update expected distributed search queries for non-grouped queries Modified files: test/unit/plugin/distributor/test_search.rb Modified: test/unit/plugin/distributor/test_search.rb (+3 -17) =================================================================== --- test/unit/plugin/distributor/test_search.rb 2013-12-04 15:01:20 +0900 (100f0f8) +++ test/unit/plugin/distributor/test_search.rb 2013-12-04 15:03:34 +0900 (1f2df69) @@ -84,7 +84,6 @@ class SearchDistributorTest < Test::Unit::TestCase "records" => { "type" => "sort", "operators" => [], - "key_column" => 0, "limit" => 10, }, }, @@ -104,7 +103,6 @@ class SearchDistributorTest < Test::Unit::TestCase "records" => { "type" => "sort", "operators" => [], - "key_column" => 0, "limit" => 20, }, }, @@ -124,7 +122,6 @@ class SearchDistributorTest < Test::Unit::TestCase "records" => { "type" => "sort", "operators" => [], - "key_column" => 0, "limit" => 30, }, }, @@ -182,7 +179,7 @@ class SearchDistributorTest < Test::Unit::TestCase "output" => { "format" => "simple", "elements" => ["count", "records"], - "attributes" => ["_key"], + "attributes" => [], "offset" => 0, "limit" => 10, }, @@ -192,7 +189,7 @@ class SearchDistributorTest < Test::Unit::TestCase "output" => { "format" => "simple", "elements" => ["count", "records"], - "attributes" => ["_key"], + "attributes" => [], "offset" => 0, "limit" => 20, }, @@ -202,7 +199,7 @@ class SearchDistributorTest < Test::Unit::TestCase "output" => { "format" => "simple", "elements" => ["count", "records"], - "attributes" => ["_key"], + "attributes" => [], "offset" => 0, "limit" => 30, }, @@ -341,7 +338,6 @@ class SearchDistributorTest < Test::Unit::TestCase "records" => { "type" => "sort", "operators" => [], - "key_column" => 0, "limit" => 1, }, }) @@ -382,7 +378,6 @@ class SearchDistributorTest < Test::Unit::TestCase "records" => { "type" => "sort", "operators" => [], - "key_column" => 0, "limit" => 2, }, }) @@ -426,7 +421,6 @@ class SearchDistributorTest < Test::Unit::TestCase "operators" => [ { "column" => 1, "operator" => "<" }, ], - "key_column" => 0, "limit" => 1, }, }) @@ -472,7 +466,6 @@ class SearchDistributorTest < Test::Unit::TestCase "operators" => [ { "column" => 1, "operator" => "<" }, ], - "key_column" => 0, "limit" => 1, }, }) @@ -522,7 +515,6 @@ class SearchDistributorTest < Test::Unit::TestCase "operators" => [ { "column" => 1, "operator" => "<" }, ], - "key_column" => 0, "limit" => 1 + 4 + [2, 8].min, }, }) @@ -572,7 +564,6 @@ class SearchDistributorTest < Test::Unit::TestCase "operators" => [ { "column" => 1, "operator" => "<" }, ], - "key_column" => 0, "limit" => 1 + 4 + 2, }, }) @@ -622,7 +613,6 @@ class SearchDistributorTest < Test::Unit::TestCase "operators" => [ { "column" => 1, "operator" => "<" }, ], - "key_column" => 0, "limit" => 1 + 4 + 8, }, }) @@ -672,7 +662,6 @@ class SearchDistributorTest < Test::Unit::TestCase "operators" => [ { "column" => 1, "operator" => "<" }, ], - "key_column" => 0, "limit" => -1, }, }) @@ -721,7 +710,6 @@ class SearchDistributorTest < Test::Unit::TestCase { "column" => 2, "operator" => ">" }, { "column" => 1, "operator" => "<" }, ], - "key_column" => 0, "limit" => -1, }, }) @@ -770,7 +758,6 @@ class SearchDistributorTest < Test::Unit::TestCase { "column" => 3, "operator" => ">" }, { "column" => 4, "operator" => "<" }, ], - "key_column" => 0, "limit" => -1, }, }) @@ -824,7 +811,6 @@ class SearchDistributorTest < Test::Unit::TestCase { "column" => 3, "operator" => ">" }, { "column" => 4, "operator" => "<" }, ], - "key_column" => 5, # 0-2 => hash type, 3-4 => sort keys "limit" => -1, }, }) -------------- next part -------------- HTML����������������������������... 下载