Navigation Menu

Skip to content

Commit

Permalink
test: Update expected default catalog generated by the generator
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 28, 2014
1 parent 32c5679 commit 1e020dc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion test/unit/test_catalog_generator.rb
Expand Up @@ -57,7 +57,20 @@ def test_default
"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
Expand Down

0 comments on commit 1e020dc

Please sign in to comment.