agent: account for consul service in anti-entropy tests

This commit is contained in:
Ryan Uber 2014-10-14 18:06:07 -07:00
parent ece81c11ac
commit cd43b486a2
1 changed files with 2 additions and 2 deletions

View File

@ -118,10 +118,10 @@ func TestAgentAntiEntropy_Services(t *testing.T) {
}
// Check the local state
if len(agent.state.services) != 3 {
if len(agent.state.services) != 4 {
t.Fatalf("bad: %v", agent.state.services)
}
if len(agent.state.serviceStatus) != 3 {
if len(agent.state.serviceStatus) != 4 {
t.Fatalf("bad: %v", agent.state.serviceStatus)
}
for name, status := range agent.state.serviceStatus {