[Groonga-commit] droonga/droonga-engine at 6f19f22 [master] test: use "127.0.0.1" instead of "localhost" for IPv6 ready environment

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 17 18:43:10 JST 2014


Kouhei Sutou	2014-04-17 18:43:10 +0900 (Thu, 17 Apr 2014)

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

  Message:
    test: use "127.0.0.1" instead of "localhost" for IPv6 ready environment

  Modified files:
    test/command/config/default/catalog.json
    test/command/config/default/fluentd.conf
    test/command/config/version1/catalog.json
    test/command/config/version1/fluentd.conf
    test/command/suite/watch/subscribe.test
    test/command/suite/watch/unsubscribe.test

  Modified: test/command/config/default/catalog.json (+7 -7)
===================================================================
--- test/command/config/default/catalog.json    2014-04-17 18:24:21 +0900 (842ddfd)
+++ test/command/config/default/catalog.json    2014-04-17 18:43:10 +0900 (9b9167b)
@@ -14,21 +14,21 @@
               "label": "slice000",
               "weight": 50,
               "volume": {
-                "address": "localhost:23003/droonga.000"
+                "address": "127.0.0.1:23003/droonga.000"
               }
             },
             {
               "label": "slice001",
               "weight": 50,
               "volume": {
-                "address": "localhost:23003/droonga.001"
+                "address": "127.0.0.1:23003/droonga.001"
               }
             },
             {
               "label": "slice002",
               "weight": 50,
               "volume": {
-                "address": "localhost:23003/droonga.002"
+                "address": "127.0.0.1:23003/droonga.002"
               }
             }
           ]
@@ -41,21 +41,21 @@
               "label": "slice010",
               "weight": 50,
               "volume": {
-                "address": "localhost:23003/droonga.010"
+                "address": "127.0.0.1:23003/droonga.010"
               }
             },
             {
               "label": "slice011",
               "weight": 50,
               "volume": {
-                "address": "localhost:23003/droonga.011"
+                "address": "127.0.0.1:23003/droonga.011"
               }
             },
             {
               "label": "slice012",
               "weight": 50,
               "volume": {
-                "address": "localhost:23003/droonga.012"
+                "address": "127.0.0.1:23003/droonga.012"
               }
             }
           ]
@@ -74,7 +74,7 @@
               "label": "slice100",
               "weight": 50,
               "volume": {
-                "address": "localhost:23003/droonga.watch"
+                "address": "127.0.0.1:23003/droonga.watch"
               }
             }
           ]

  Modified: test/command/config/default/fluentd.conf (+1 -1)
===================================================================
--- test/command/config/default/fluentd.conf    2014-04-17 18:24:21 +0900 (1e26357)
+++ test/command/config/default/fluentd.conf    2014-04-17 18:43:10 +0900 (2ed97e1)
@@ -3,7 +3,7 @@
   port 23003
 </source>
 <match droonga.message>
-  name localhost:23003/droonga
+  name 127.0.0.1:23003/droonga
   type droonga
 </match>
 <match output.message>

  Modified: test/command/config/version1/catalog.json (+13 -13)
===================================================================
--- test/command/config/version1/catalog.json    2014-04-17 18:24:21 +0900 (7d0200a)
+++ test/command/config/version1/catalog.json    2014-04-17 18:43:10 +0900 (3ca0c4a)
@@ -1,9 +1,9 @@
 {
   "version": 1,
   "effective_date": "2013-09-01T00:00:00Z",
-  "zones": ["localhost:23003/droonga"],
+  "zones": ["127.0.0.1:23003/droonga"],
   "farms": {
-    "localhost:23003/droonga": {
+    "127.0.0.1:23003/droonga": {
       "device": ".",
       "capacity": 10
     }
@@ -17,30 +17,30 @@
       "partition_key": "_key",
       "date_range": "infinity",
       "ring": {
-        "localhost:23041": {
+        "127.0.0.1:23041": {
           "weight": 50,
           "partitions": {
             "2013-09-01": [
-              "localhost:23003/droonga.000",
-              "localhost:23003/droonga.001"
+              "127.0.0.1:23003/droonga.000",
+              "127.0.0.1:23003/droonga.001"
             ]
           }
         },
-        "localhost:23042": {
+        "127.0.0.1:23042": {
           "weight": 50,
           "partitions": {
             "2013-09-01": [
-              "localhost:23003/droonga.010",
-              "localhost:23003/droonga.011"
+              "127.0.0.1:23003/droonga.010",
+              "127.0.0.1:23003/droonga.011"
             ]
           }
         },
-        "localhost:23043": {
+        "127.0.0.1:23043": {
           "weight": 50,
           "partitions": {
             "2013-09-01": [
-              "localhost:23003/droonga.020",
-              "localhost:23003/droonga.021"
+              "127.0.0.1:23003/droonga.020",
+              "127.0.0.1:23003/droonga.021"
             ]
           }
         }
@@ -54,11 +54,11 @@
       "partition_key": "_key",
       "date_range": "infinity",
       "ring": {
-        "localhost:23041": {
+        "127.0.0.1:23041": {
           "weight": 50,
           "partitions": {
             "2013-09-01": [
-              "localhost:23003/droonga.watch"
+              "127.0.0.1:23003/droonga.watch"
             ]
           }
         }

  Modified: test/command/config/version1/fluentd.conf (+1 -1)
===================================================================
--- test/command/config/version1/fluentd.conf    2014-04-17 18:24:21 +0900 (1e26357)
+++ test/command/config/version1/fluentd.conf    2014-04-17 18:43:10 +0900 (2ed97e1)
@@ -3,7 +3,7 @@
   port 23003
 </source>
 <match droonga.message>
-  name localhost:23003/droonga
+  name 127.0.0.1:23003/droonga
   type droonga
 </match>
 <match output.message>

  Modified: test/command/suite/watch/subscribe.test (+1 -1)
===================================================================
--- test/command/suite/watch/subscribe.test    2014-04-17 18:24:21 +0900 (5b2bbad)
+++ test/command/suite/watch/subscribe.test    2014-04-17 18:43:10 +0900 (6f07471)
@@ -4,6 +4,6 @@
   "body": {
     "condition": "condition",
     "subscriber": "subscriber",
-    "route": "localhost:23003/output"
+    "route": "127.0.0.1:23003/output"
   }
 }

  Modified: test/command/suite/watch/unsubscribe.test (+1 -1)
===================================================================
--- test/command/suite/watch/unsubscribe.test    2014-04-17 18:24:21 +0900 (3cdf6df)
+++ test/command/suite/watch/unsubscribe.test    2014-04-17 18:43:10 +0900 (7a005de)
@@ -4,6 +4,6 @@
   "body": {
     "condition": "condition",
     "subscriber": "subscriber",
-    "route": "localhost:23003/output"
+    "route": "127.0.0.1:23003/output"
   }
 }
-------------- next part --------------
HTML����������������������������...
Download 



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