mirror of https://github.com/status-im/consul.git
Merge pull request #10187 from hashicorp/fixup/ent-tproxy-test
This commit is contained in:
commit
a9e49c524c
|
@ -116,9 +116,10 @@ func TestConfig_Get(t *testing.T) {
|
|||
|
||||
ce, ok := obj.(*structs.MeshConfigEntry)
|
||||
require.True(t, ok, "wrong type %T", obj)
|
||||
// Set indexes to expected values for assertions
|
||||
// Set indexes and EnterpriseMeta to expected values for assertions
|
||||
ce.CreateIndex = 12
|
||||
ce.ModifyIndex = 13
|
||||
ce.EnterpriseMeta = structs.EnterpriseMeta{}
|
||||
|
||||
out, err := a.srv.marshalJSON(req, obj)
|
||||
require.NoError(t, err)
|
||||
|
|
|
@ -1814,7 +1814,7 @@ func TestState_WatchesAndUpdates(t *testing.T) {
|
|||
},
|
||||
events: []cache.UpdateEvent{
|
||||
{
|
||||
CorrelationID: "discovery-chain:db",
|
||||
CorrelationID: "discovery-chain:" + db.String(),
|
||||
Result: &structs.DiscoveryChainResponse{
|
||||
Chain: discoverychain.TestCompileConfigEntries(t, "db", "default", "dc1", "trustdomain.consul", "dc1", nil,
|
||||
&structs.ServiceResolverConfigEntry{
|
||||
|
|
Loading…
Reference in New Issue