mirror of https://github.com/hashicorp/consul
add serf check to TestAPI_CoordinateUpdate
parent
a2eb3c204d
commit
7b4fb32545
|
@ -71,6 +71,7 @@ func TestAPI_CoordinateUpdate(t *testing.T) {
|
||||||
c, s := makeClient(t)
|
c, s := makeClient(t)
|
||||||
defer s.Stop()
|
defer s.Stop()
|
||||||
|
|
||||||
|
s.WaitForSerfCheck(t)
|
||||||
node := "foo"
|
node := "foo"
|
||||||
_, err := c.Catalog().Register(&CatalogRegistration{
|
_, err := c.Catalog().Register(&CatalogRegistration{
|
||||||
Node: node,
|
Node: node,
|
||||||
|
|
Loading…
Reference in New Issue