diff --git a/api/catalog_test.go b/api/catalog_test.go index 5c73d73b1..7b2ce0a71 100644 --- a/api/catalog_test.go +++ b/api/catalog_test.go @@ -33,6 +33,7 @@ func TestAPI_CatalogNodes(t *testing.T) { c, s := makeClient(t) defer s.Stop() + s.WaitForSerfCheck(t) catalog := c.Catalog() retry.RunWith(retry.ThreeTimes(), t, func(r *retry.R) { nodes, meta, err := catalog.Nodes(nil)