From 84f8c70a7913f3a4e246176fb7a71456f065ae35 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Thu, 5 Feb 2015 23:29:04 -0800 Subject: [PATCH] agent: fix test case examples --- command/agent/config_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/command/agent/config_test.go b/command/agent/config_test.go index 3bc0f35370..699f8de88c 100644 --- a/command/agent/config_test.go +++ b/command/agent/config_test.go @@ -686,9 +686,9 @@ func TestDecodeConfig_Services(t *testing.T) { { "id": "es0", "name": "elasticsearch", - port: "9200", + "port": 9200, "check": { - "HTTP": "http://localhost:9200/_cluster/health", + "HTTP": "http://localhost:9200/_cluster_health", "interval": "10s", "timeout": "100ms" } @@ -783,9 +783,9 @@ func TestDecodeConfig_Checks(t *testing.T) { { "id": "chk4", "name": "service:elasticsearch:health", - "HTTP": "http://localhost:9200/_cluster/health", + "HTTP": "http://localhost:9200/_cluster_health", "interval": "10s", - "timeout": "100ms" + "timeout": "100ms", "service_id": "elasticsearch" } ]