[Groonga-commit] droonga/droonga-engine at 1e020dc [master] test: Update expected default catalog generated by the generator

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Apr 28 16:44:37 JST 2014


YUKI Hiroshi	2014-04-28 16:44:37 +0900 (Mon, 28 Apr 2014)

  New Revision: 1e020dca851da151464380f0dedf08ceefa867e6
  https://github.com/droonga/droonga-engine/commit/1e020dca851da151464380f0dedf08ceefa867e6

  Message:
    test: Update expected default catalog generated by the generator

  Modified files:
    test/unit/test_catalog_generator.rb

  Modified: test/unit/test_catalog_generator.rb (+14 -1)
===================================================================
--- test/unit/test_catalog_generator.rb    2014-04-28 16:41:53 +0900 (4c79f68)
+++ test/unit/test_catalog_generator.rb    2014-04-28 16:44:37 +0900 (90e39a6)
@@ -57,7 +57,20 @@ class CatalogGeneratorTest < Test::Unit::TestCase
         "nWorkers" => 4,
         "plugins" => ["groonga", "search", "crud"],
         "schema" => {},
-        "replicas" => [],
+        "replicas" => [
+          {
+            "dimension" => "_key",
+            "slicer" => "hash",
+            "slices" => [
+              {
+                "volume" => {
+                  "address" => "127.0.0.1:10031/droonga.000",
+                },
+                "weight" => 100,
+              },
+            ],
+          },
+        ],
       }
       assert_equal(dataset, generate["datasets"]["Droonga"])
     end
-------------- next part --------------
HTML����������������������������...
Download 



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