From 248889dd1b4e2cc2ba5b87043abceebcf78545c1 Mon Sep 17 00:00:00 2001 From: vishalnayak Date: Fri, 22 Jul 2016 06:42:56 -0400 Subject: [PATCH] Fix broken test --- physical/consul_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/physical/consul_test.go b/physical/consul_test.go index 1b756f340..f12c52271 100644 --- a/physical/consul_test.go +++ b/physical/consul_test.go @@ -196,8 +196,10 @@ func TestConsul_serviceTags(t *testing.T) { }, } + c := testConsulBackendConfig(t, &consulConf{}) + for _, test := range tests { - tags := serviceTags(test.active) + tags := c.fetchServiceTags(test.active) if !reflect.DeepEqual(tags[:], test.tags[:]) { t.Errorf("Bad %v: %v %v", test.active, tags, test.tags) }