add serf check to TestAPI_CatalogNodes

This commit is contained in:
Alvin Huang 2019-02-22 13:39:08 -05:00
parent 9780892ebe
commit 8124f5889c
1 changed files with 1 additions and 0 deletions

View File

@ -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)