From a7180f715a4b1d9ae92f375b9c7868927bd83219 Mon Sep 17 00:00:00 2001 From: Alvin Huang Date: Fri, 22 Feb 2019 15:24:19 -0500 Subject: [PATCH] add serf check to testDNSServiceLookupResponseLimits, checkDNSService --- agent/dns_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/dns_test.go b/agent/dns_test.go index 34940bfa31..01d1bda4cd 100644 --- a/agent/dns_test.go +++ b/agent/dns_test.go @@ -4151,7 +4151,7 @@ func testDNSServiceLookupResponseLimits(t *testing.T, answerLimit int, qType uin } `) defer a.Shutdown() - testrpc.WaitForLeader(t, a.RPC, "dc1") + testrpc.WaitForTestAgent(t, a.RPC, "dc1") for i := 0; i < generateNumNodes; i++ { nodeAddress := fmt.Sprintf("127.0.0.%d", i+1) @@ -4241,7 +4241,7 @@ func checkDNSService(t *testing.T, generateNumNodes int, aRecordLimit int, qType } `) defer a.Shutdown() - testrpc.WaitForLeader(t, a.RPC, "dc1") + testrpc.WaitForTestAgent(t, a.RPC, "dc1") for i := 0; i < generateNumNodes; i++ { nodeAddress := fmt.Sprintf("127.0.0.%d", i+1)