add serf check to TestAPI_HealthChecks_NodeMetaFilter, TestAPI_HealthConnect

This commit is contained in:
Alvin Huang 2019-02-22 10:38:39 -05:00
parent 313408a35f
commit 6f27454ea0
1 changed files with 4 additions and 0 deletions

View File

@ -230,6 +230,8 @@ func TestAPI_HealthChecks_NodeMetaFilter(t *testing.T) {
agent := c.Agent() agent := c.Agent()
health := c.Health() health := c.Health()
s.WaitForSerfCheck(t)
// Make a service with a check // Make a service with a check
reg := &AgentServiceRegistration{ reg := &AgentServiceRegistration{
Name: "foo", Name: "foo",
@ -393,6 +395,8 @@ func TestAPI_HealthConnect(t *testing.T) {
agent := c.Agent() agent := c.Agent()
health := c.Health() health := c.Health()
s.WaitForSerfCheck(t)
// Make a service with a proxy // Make a service with a proxy
reg := &AgentServiceRegistration{ reg := &AgentServiceRegistration{
Name: "foo", Name: "foo",