Navigation Menu

Skip to content

Commit

Permalink
test: use "127.0.0.1" instead of "localhost" for IPv6 ready environment
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 17, 2014
1 parent 2ed0521 commit 6f19f22
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
14 changes: 7 additions & 7 deletions test/command/config/default/catalog.json
Expand Up @@ -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"
}
}
]
Expand All @@ -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"
}
}
]
Expand All @@ -74,7 +74,7 @@
"label": "slice100",
"weight": 50,
"volume": {
"address": "localhost:23003/droonga.watch"
"address": "127.0.0.1:23003/droonga.watch"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion test/command/config/default/fluentd.conf
Expand Up @@ -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>
Expand Down
26 changes: 13 additions & 13 deletions test/command/config/version1/catalog.json
@@ -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
}
Expand All @@ -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"
]
}
}
Expand All @@ -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"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/command/config/version1/fluentd.conf
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion test/command/suite/watch/subscribe.test
Expand Up @@ -4,6 +4,6 @@
"body": {
"condition": "condition",
"subscriber": "subscriber",
"route": "localhost:23003/output"
"route": "127.0.0.1:23003/output"
}
}
2 changes: 1 addition & 1 deletion test/command/suite/watch/unsubscribe.test
Expand Up @@ -4,6 +4,6 @@
"body": {
"condition": "condition",
"subscriber": "subscriber",
"route": "localhost:23003/output"
"route": "127.0.0.1:23003/output"
}
}

0 comments on commit 6f19f22

Please sign in to comment.