mirror of https://github.com/status-im/consul.git
add serf check to TestAPI_CatalogNodes
This commit is contained in:
parent
9780892ebe
commit
8124f5889c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue