diff --git a/command/agent/local_test.go b/command/agent/local_test.go index 2d6cce72a9..9978602793 100644 --- a/command/agent/local_test.go +++ b/command/agent/local_test.go @@ -343,8 +343,9 @@ func TestAgentAntiEntropy_Services_ACLDeny(t *testing.T) { // Verify that we are in sync req := structs.NodeSpecificRequest{ - Datacenter: "dc1", - Node: agent.config.NodeName, + Datacenter: "dc1", + Node: agent.config.NodeName, + QueryOptions: structs.QueryOptions{Token: out}, } var services structs.IndexedNodeServices if err := agent.RPC("Catalog.NodeServices", &req, &services); err != nil {