diff --git a/dependency/health_service_test.go b/dependency/health_service_test.go index 3974560f6..88f37aba6 100644 --- a/dependency/health_service_test.go +++ b/dependency/health_service_test.go @@ -211,6 +211,21 @@ func TestNewHealthServiceQuery(t *testing.T) { i: "name?unsupported=test", err: true, }, + { + "query other parameters", + "tag.name?peer=foo&ns=bar&partition=baz@dc2~near", + &HealthServiceQuery{ + filters: []string{"passing"}, + tag: "tag", + name: "name", + dc: "dc2", + near: "near", + peer: "foo", + namespace: "bar", + partition: "baz", + }, + false, + }, } for i, tc := range cases {