YUKI Hiroshi
null+****@clear*****
Mon Jun 1 16:07:29 JST 2015
YUKI Hiroshi 2015-06-01 16:07:29 +0900 (Mon, 01 Jun 2015) New Revision: b4fbae92695721b8add8ee70eb35eac2b547d82d https://github.com/droonga/droonga-engine/commit/b4fbae92695721b8add8ee70eb35eac2b547d82d Message: Add config for single slice case Added files: test/command/config/single_slice/catalog.json test/command/config/single_slice/droonga-engine.yaml Modified files: Rakefile Modified: Rakefile (+6 -0) =================================================================== --- Rakefile 2015-06-01 15:01:47 +0900 (d3e3b38) +++ Rakefile 2015-06-01 16:07:29 +0900 (7dddc42) @@ -50,6 +50,11 @@ namespace :test do run_command_test end + desc "Run command test: single slice" + task :single_slice do + run_command_test("--config", "single_slice") + end + desc "Run command test: version1" task :version1 do run_command_test("--config", "version1") @@ -61,6 +66,7 @@ desc "Run test" task :test => [ "test:unit", "test:command:default", + "test:command:single_slice", "test:command:version1", ] Added: test/command/config/single_slice/catalog.json (+38 -0) 100644 =================================================================== --- /dev/null +++ test/command/config/single_slice/catalog.json 2015-06-01 16:07:29 +0900 (7a8efd6) @@ -0,0 +1,38 @@ +{ + "version": 2, + "effectiveDate": "2014-02-28T00:00:00Z", + "datasets": { + "Default": { + "nWorkers": 2, + "plugins": ["groonga", "crud", "search", "dump", "system", "catalog"], + "replicas": [ + { + "dimension": "_key", + "slicer": "hash", + "slices": [ + { + "label": "slice000", + "weight": 100, + "volume": { + "address": "127.0.0.1:23003/droonga.000" + } + } + ] + }, + { + "dimension": "_key", + "slicer": "hash", + "slices": [ + { + "label": "slice010", + "weight": 100, + "volume": { + "address": "127.0.0.1:23003/droonga.010" + } + } + ] + } + ] + } + } +} Added: test/command/config/single_slice/droonga-engine.yaml (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/config/single_slice/droonga-engine.yaml 2015-06-01 16:07:29 +0900 (8cbcab4) @@ -0,0 +1,4 @@ +host: 127.0.0.1 +port: 10031 +tag: droonga +daemon: false -------------- next part -------------- HTML����������������������������...Download