integ-test: fix upgrade test for CE (#19673)

* integ-test: fix upgrade test for CE
This commit is contained in:
cskh 2023-11-17 12:34:30 -05:00 committed by GitHub
parent 75c2def1ca
commit ce66433311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 8 deletions

View File

@ -406,7 +406,6 @@ jobs:
runs-on: ${{ fromJSON(needs.setup.outputs.compute-large ) }}
needs:
- setup
- dev-build
permissions:
id-token: write # NOTE: this permission is explicitly required for Vault auth.
contents: read
@ -445,7 +444,7 @@ jobs:
-- \
go test \
-tags "${{ env.GOTAGS }}" \
-timeout=60m \
-timeout=20m \
-parallel=2 \
-json \
./... \

View File

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