Skip to content

Commit

Permalink
test: update test cases with correct protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
JadhavPoonam committed Aug 21, 2024
1 parent 53ba464 commit caf53d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/config_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit caf53d4

Please sign in to comment.