mirror of https://github.com/status-im/consul.git
add serf check to TestAPI_HealthChecks_NodeMetaFilter, TestAPI_HealthConnect
This commit is contained in:
parent
7252679232
commit
a2eb3c204d
|
@ -230,6 +230,8 @@ func TestAPI_HealthChecks_NodeMetaFilter(t *testing.T) {
|
|||
agent := c.Agent()
|
||||
health := c.Health()
|
||||
|
||||
s.WaitForSerfCheck(t)
|
||||
|
||||
// Make a service with a check
|
||||
reg := &AgentServiceRegistration{
|
||||
Name: "foo",
|
||||
|
@ -393,6 +395,8 @@ func TestAPI_HealthConnect(t *testing.T) {
|
|||
agent := c.Agent()
|
||||
health := c.Health()
|
||||
|
||||
s.WaitForSerfCheck(t)
|
||||
|
||||
// Make a service with a proxy
|
||||
reg := &AgentServiceRegistration{
|
||||
Name: "foo",
|
||||
|
|
Loading…
Reference in New Issue