From caf53d4418f290f0c9dfdcf9fa584e1b7e4d1304 Mon Sep 17 00:00:00 2001 From: Poonam Jadhav Date: Wed, 21 Aug 2024 09:24:50 -0400 Subject: [PATCH] test: update test cases with correct protocol --- agent/config_endpoint_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/config_endpoint_test.go b/agent/config_endpoint_test.go index 8697b55e5bf0e..fac710f3fe3aa 100644 --- a/agent/config_endpoint_test.go +++ b/agent/config_endpoint_test.go @@ -612,7 +612,7 @@ func TestConfig_Apply_CAS(t *testing.T) { { "Kind": "service-defaults", "Name": "foo", - "Protocol": "udp" + "Protocol": "tcp" } `)) req, _ = http.NewRequest("PUT", "/v1/config?cas=0", body) @@ -628,7 +628,7 @@ func TestConfig_Apply_CAS(t *testing.T) { { "Kind": "service-defaults", "Name": "foo", - "Protocol": "udp" + "Protocol": "tcp" } `)) req, _ = http.NewRequest("PUT", fmt.Sprintf("/v1/config?cas=%d", entry.GetRaftIndex().ModifyIndex), body)