Fixup checksums for tests

Signed-off-by: Mark Anderson <manderson@hashicorp.com>
This commit is contained in:
Mark Anderson 2021-05-05 09:19:46 -07:00
parent 4d0346bc46
commit f808a25a73
2 changed files with 4 additions and 4 deletions

View File

@ -399,7 +399,7 @@ func TestAgent_Service(t *testing.T) {
Service: "web-sidecar-proxy",
Port: 8000,
Proxy: expectProxy.ToAPI(),
ContentHash: "35ad6dd5b1ff8d18",
ContentHash: "9dcdedfd5047d46e",
Weights: api.AgentWeights{
Passing: 1,
Warning: 1,
@ -413,14 +413,14 @@ func TestAgent_Service(t *testing.T) {
// Copy and modify
updatedResponse := *expectedResponse
updatedResponse.Port = 9999
updatedResponse.ContentHash = "8e407e299ec9eba"
updatedResponse.ContentHash = "a08487ca7854c7cc"
// Simple response for non-proxy service registered in TestAgent config
expectWebResponse := &api.AgentService{
ID: "web",
Service: "web",
Port: 8181,
ContentHash: "6c247f8ffa5d1fb2",
ContentHash: "f012740ee2d8ce60",
Weights: api.AgentWeights{
Passing: 1,
Warning: 1,

View File

@ -741,7 +741,7 @@ func TestAPI_AgentService(t *testing.T) {
ID: "foo",
Service: "foo",
Tags: []string{"bar", "baz"},
ContentHash: "6b13684bfe179e67",
ContentHash: "f72563cae6924fb5",
Port: 8000,
Weights: AgentWeights{
Passing: 1,