add serf check to TestAPI_CatalogNodes
This commit is contained in:
parent
9953306901
commit
897c5ff746
|
@ -33,6 +33,7 @@ func TestAPI_CatalogNodes(t *testing.T) {
|
||||||
c, s := makeClient(t)
|
c, s := makeClient(t)
|
||||||
defer s.Stop()
|
defer s.Stop()
|
||||||
|
|
||||||
|
s.WaitForSerfCheck(t)
|
||||||
catalog := c.Catalog()
|
catalog := c.Catalog()
|
||||||
retry.RunWith(retry.ThreeTimes(), t, func(r *retry.R) {
|
retry.RunWith(retry.ThreeTimes(), t, func(r *retry.R) {
|
||||||
nodes, meta, err := catalog.Nodes(nil)
|
nodes, meta, err := catalog.Nodes(nil)
|
||||||
|
|
Loading…
Reference in New Issue