pull/19435/head
cskh 1 year ago
parent 6a7d602d8a
commit 3d5b425e4e

@ -123,27 +123,22 @@ func Test_Snapshot_Restore_Agentless(t *testing.T) {
},
},
},
Enterprise: true,
Enterprise: utils.IsEnterprise(),
InitialConfigEntries: []api.ConfigEntry{
&api.ProxyConfigEntry{
Kind: api.ProxyDefaults,
Name: "global",
Partition: "default",
Kind: api.ProxyDefaults,
Name: "global",
Config: map[string]any{
"protocol": "http",
},
},
&api.ServiceConfigEntry{
Kind: api.ServiceDefaults,
Name: "static-server",
Partition: "default",
Namespace: "default",
Kind: api.ServiceDefaults,
Name: "static-server",
},
&api.ServiceIntentionsConfigEntry{
Kind: api.ServiceIntentions,
Name: "static-server",
Partition: "default",
Namespace: "default",
Kind: api.ServiceIntentions,
Name: "static-server",
Sources: []*api.SourceIntention{
{
Name: "static-client",

Loading…
Cancel
Save