From 8b21150b695984a33dca5ca3ddbff48adec4d9ff Mon Sep 17 00:00:00 2001 From: absolutelightning Date: Sat, 16 Sep 2023 14:18:18 +0530 Subject: [PATCH] fix tests --- api/catalog_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/catalog_test.go b/api/catalog_test.go index b169250bcaa0..dee91eb3d423 100644 --- a/api/catalog_test.go +++ b/api/catalog_test.go @@ -309,6 +309,7 @@ func TestAPI_CatalogServices_NodeMetaFilterFix(t *testing.T) { Address: "192.168.10.10", Service: proxyService, Check: check, + NodeMeta: map[string]string{"synthetic-node": "true"}, } catalog := c.Catalog() @@ -366,7 +367,7 @@ func TestAPI_CatalogServices_NodeMetaFilterFix(t *testing.T) { r.Fatalf("Bad: %v", meta) } - if len(services) != 2 { + if len(services) != 3 { r.Fatalf("Bad: %v", services) } })