[Groonga-commit] droonga/droonga-engine at c8a8c26 [master] Use natural variable name for replicas

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Fri Dec 12 00:24:39 JST 2014


YUKI "Piro" Hiroshi	2014-12-12 00:24:39 +0900 (Fri, 12 Dec 2014)

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

  Merged e0f9f34: Merge pull request #30 from piroor/replicas-in-a-branch

  Message:
    Use natural variable name for replicas

  Modified files:
    test/unit/catalog/test_replicas_volume.rb

  Modified: test/unit/catalog/test_replicas_volume.rb (+4 -4)
===================================================================
--- test/unit/catalog/test_replicas_volume.rb    2014-12-11 17:01:25 +0900 (3782698)
+++ test/unit/catalog/test_replicas_volume.rb    2014-12-12 00:24:39 +0900 (affae68)
@@ -31,11 +31,11 @@ class CatalogReplicasTest < Test::Unit::TestCase
           { "address" => "volume3:10047/droonga.000" },
         ],
       }
-      @collection = create_replicas(volume)
+      @replicas = create_replicas(volume)
     end
 
     def test_top
-      hosts =****@colle*****(:top).collect do |volume|
+      hosts =****@repli*****(:top).collect do |volume|
         volume.address.host
       end
       assert_equal(["volume1"],
@@ -43,14 +43,14 @@ class CatalogReplicasTest < Test::Unit::TestCase
     end
 
     def test_random
-      random_volumes =****@colle*****(:random).collect do |volume|
+      random_volumes =****@repli*****(:random).collect do |volume|
         volume.address.host.gsub(/\Avolume[123]\z/, "any volume")
       end
       assert_equal(["any volume"], random_volumes)
     end
 
     def test_all
-      hosts =****@colle*****(:all).collect do |volume|
+      hosts =****@repli*****(:all).collect do |volume|
         volume.address.host
       end
       assert_equal(["volume1", "volume2", "volume3"],
-------------- next part --------------
HTML����������������������������...
下载 



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