[Groonga-commit] droonga/droonga-engine at 46914af [master] Update expected path to local databases

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 18 13:35:21 JST 2014


YUKI Hiroshi	2014-09-18 13:35:21 +0900 (Thu, 18 Sep 2014)

  New Revision: 46914afc8465ddb7c1dc1e6a9bfb7a99748b3bb9
  https://github.com/droonga/droonga-engine/commit/46914afc8465ddb7c1dc1e6a9bfb7a99748b3bb9

  Message:
    Update expected path to local databases

  Modified files:
    test/unit/catalog/test_version1.rb
    test/unit/catalog/test_version2.rb

  Modified: test/unit/catalog/test_version1.rb (+2 -2)
===================================================================
--- test/unit/catalog/test_version1.rb    2014-09-18 13:32:19 +0900 (052d231)
+++ test/unit/catalog/test_version1.rb    2014-09-18 13:35:21 +0900 (0ae719b)
@@ -46,13 +46,13 @@ class CatalogVersion1Test < Test::Unit::TestCase
       partitions =****@catal*****_partitions("localhost:23003/test")
       assert_equal({
                      "localhost:23003/test.000" => {
-                       :database  => "#{base_path}/000/db",
+                       :database  => "#{base_path}/database/000/db",
                        :dataset   => "Test",
                        :plugins   => ["for_dataset"],
                        :n_workers => 0
                      },
                      "localhost:23003/test.002" => {
-                       :database  => "#{base_path}/002/db",
+                       :database  => "#{base_path}/database/002/db",
                        :dataset   => "Test",
                        :plugins   => ["for_dataset"],
                        :n_workers => 0

  Modified: test/unit/catalog/test_version2.rb (+3 -3)
===================================================================
--- test/unit/catalog/test_version2.rb    2014-09-18 13:32:19 +0900 (7316473)
+++ test/unit/catalog/test_version2.rb    2014-09-18 13:35:21 +0900 (d3549bf)
@@ -45,19 +45,19 @@ class CatalogVersion2Test < Test::Unit::TestCase
       slices =****@catal*****("localhost:23003/test")
       assert_equal({
                      "localhost:23003/test.000" => {
-                       :database  => "#{base_path}/000/db",
+                       :database  => "#{base_path}/database/000/db",
                        :dataset   => "Test",
                        :plugins   => ["plugin1", "plugin2", "plugin3"],
                        :n_workers => 4,
                      },
                      "localhost:23003/test.001" => {
-                       :database  => "#{base_path}/001/db",
+                       :database  => "#{base_path}/database/001/db",
                        :dataset   => "Test",
                        :plugins   => ["plugin1", "plugin2", "plugin3"],
                        :n_workers => 4,
                      },
                      "localhost:23003/test.002" => {
-                       :database  => "#{base_path}/002/db",
+                       :database  => "#{base_path}/database/002/db",
                        :dataset   => "Test",
                        :plugins   => ["plugin1", "plugin2", "plugin3"],
                        :n_workers => 4,
-------------- next part --------------
HTML����������������������������...
Télécharger 



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