mirror of https://github.com/status-im/consul.git
integ-test: fix upgrade test for CE (#19673)
* integ-test: fix upgrade test for CE
This commit is contained in:
parent
75c2def1ca
commit
ce66433311
|
@ -406,7 +406,6 @@ jobs:
|
||||||
runs-on: ${{ fromJSON(needs.setup.outputs.compute-large ) }}
|
runs-on: ${{ fromJSON(needs.setup.outputs.compute-large ) }}
|
||||||
needs:
|
needs:
|
||||||
- setup
|
- setup
|
||||||
- dev-build
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write # NOTE: this permission is explicitly required for Vault auth.
|
id-token: write # NOTE: this permission is explicitly required for Vault auth.
|
||||||
contents: read
|
contents: read
|
||||||
|
@ -445,7 +444,7 @@ jobs:
|
||||||
-- \
|
-- \
|
||||||
go test \
|
go test \
|
||||||
-tags "${{ env.GOTAGS }}" \
|
-tags "${{ env.GOTAGS }}" \
|
||||||
-timeout=60m \
|
-timeout=20m \
|
||||||
-parallel=2 \
|
-parallel=2 \
|
||||||
-json \
|
-json \
|
||||||
./... \
|
./... \
|
||||||
|
|
|
@ -161,12 +161,12 @@ func newCommonTopo(t *testing.T) *commonTopo {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Enterprise: true,
|
Enterprise: utils.IsEnterprise(),
|
||||||
InitialConfigEntries: []api.ConfigEntry{
|
InitialConfigEntries: []api.ConfigEntry{
|
||||||
&api.ProxyConfigEntry{
|
&api.ProxyConfigEntry{
|
||||||
Kind: api.ProxyDefaults,
|
Kind: api.ProxyDefaults,
|
||||||
Name: "global",
|
Name: "global",
|
||||||
Partition: "default",
|
Partition: topoutil.ConfigEntryPartition("default"),
|
||||||
Config: map[string]any{
|
Config: map[string]any{
|
||||||
"protocol": "http",
|
"protocol": "http",
|
||||||
},
|
},
|
||||||
|
@ -174,14 +174,12 @@ func newCommonTopo(t *testing.T) *commonTopo {
|
||||||
&api.ServiceConfigEntry{
|
&api.ServiceConfigEntry{
|
||||||
Kind: api.ServiceDefaults,
|
Kind: api.ServiceDefaults,
|
||||||
Name: "static-server",
|
Name: "static-server",
|
||||||
Partition: "default",
|
Partition: topoutil.ConfigEntryPartition("default"),
|
||||||
Namespace: "default",
|
|
||||||
},
|
},
|
||||||
&api.ServiceIntentionsConfigEntry{
|
&api.ServiceIntentionsConfigEntry{
|
||||||
Kind: api.ServiceIntentions,
|
Kind: api.ServiceIntentions,
|
||||||
Name: "static-server",
|
Name: "static-server",
|
||||||
Partition: "default",
|
Partition: topoutil.ConfigEntryPartition("default"),
|
||||||
Namespace: "default",
|
|
||||||
Sources: []*api.SourceIntention{
|
Sources: []*api.SourceIntention{
|
||||||
{
|
{
|
||||||
Name: "static-client",
|
Name: "static-client",
|
||||||
|
|
Loading…
Reference in New Issue