From e2246b9f6cf96d11d720f9b6d2a5c8ad929cd2eb Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Tue, 14 Oct 2014 18:06:07 -0700 Subject: [PATCH] agent: account for consul service in anti-entropy tests --- command/agent/local_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/agent/local_test.go b/command/agent/local_test.go index 658d8ca82a..fb24477cad 100644 --- a/command/agent/local_test.go +++ b/command/agent/local_test.go @@ -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 {