Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
henrod committed Sep 18, 2018
1 parent 21e2d22 commit e423bbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ func TestAddGRPCInfoToMetadata(t *testing.T) {
"key3": "value3",
}

metadata = AddGRPCInfoToMetadata(metadata, "host", "external-host", "port")
metadata = AddGRPCInfoToMetadata(metadata, "region", "host", "external-host", "port")

assert.Equal(t, map[string]string{
"key1": "value1",
Expand All @@ -639,5 +639,6 @@ func TestAddGRPCInfoToMetadata(t *testing.T) {
constants.GRPCHostKey: "host",
constants.GRPCExternalHostKey: "external-host",
constants.GRPCPortKey: "port",
constants.RegionKey: "region",
}, metadata)
}

0 comments on commit e423bbb

Please sign in to comment.