YUKI Hiroshi
null+****@clear*****
Thu Nov 28 16:07:36 JST 2013
YUKI Hiroshi 2013-11-28 16:07:36 +0900 (Thu, 28 Nov 2013) New Revision: f8b9f4cead6db5120b839fa013f1c0d479455d3a https://github.com/droonga/fluent-plugin-droonga/commit/f8b9f4cead6db5120b839fa013f1c0d479455d3a Message: Update expected sort operators of distributed search requests Modified files: test/unit/plugin/distributor/test_search.rb Modified: test/unit/plugin/distributor/test_search.rb (+23 -11) =================================================================== --- test/unit/plugin/distributor/test_search.rb 2013-11-28 16:04:29 +0900 (f186ce7) +++ test/unit/plugin/distributor/test_search.rb 2013-11-28 16:07:36 +0900 (199c61e) @@ -83,7 +83,7 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [], "limit" => 10, }, }, @@ -102,7 +102,7 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [], "limit" => 20, }, }, @@ -121,7 +121,7 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [], "limit" => 30, }, }, @@ -340,7 +340,7 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [], "limit" => 1, }, }) @@ -383,7 +383,7 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [], "limit" => 2, }, }) @@ -427,7 +427,9 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [ + { "column" => 1, "operator" => "<" }, + ], "limit" => 1, }, }) @@ -473,7 +475,9 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [ + { "column" => 1, "operator" => "<" }, + ], "limit" => 1, }, }) @@ -523,7 +527,9 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [ + { "column" => 1, "operator" => "<" }, + ], "limit" => 1 + 4 + [2, 8].min, }, }) @@ -573,7 +579,9 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [ + { "column" => 1, "operator" => "<" }, + ], "limit" => 1 + 4 + 2, }, }) @@ -623,7 +631,9 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [ + { "column" => 1, "operator" => "<" }, + ], "limit" => 1 + 4 + 8, }, }) @@ -673,7 +683,9 @@ class SearchDistributorTest < Test::Unit::TestCase }, "records" => { "type" => "sort", - "order" => ["<"], + "operators" => [ + { "column" => 1, "operator" => "<" }, + ], "limit" => -1, }, }) -------------- next part -------------- HTML����������������������������... Download