From cd43b486a24299fcb2473d5617722ec7b01fd42d 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 658d8ca82..fb24477ca 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 {