Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
fix(e2e): reduce CPU needed for upgrade test
Browse files Browse the repository at this point in the history
This change reduces the CPU requests for the osm-controller and
osm-injector pods so that the kind cluster in CI can handle standing up
the new control plane before tearing the old one down.

Fixes #2675

Signed-off-by: Jon Huhn <johuhn@microsoft.com>
  • Loading branch information
nojnhuh committed Mar 12, 2021
1 parent 2883465 commit b8d533a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion tests/e2e/e2e_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
var _ = OSMDescribe("Upgrade from latest",
OSMDescribeInfo{
Tier: 2,
Bucket: 0, // Disabled in CI pending https://github.com/openservicemesh/osm/issues/2675
Bucket: 1,
},
func() {
const ns = "upgrade-test"
Expand Down Expand Up @@ -59,6 +59,24 @@ var _ = OSMDescribe("Upgrade from latest",
"OpenServiceMesh": map[string]interface{}{
"deployPrometheus": true,
"deployJaeger": false,

// Reduce CPU so CI (capped at 2 CPU) can handle standing
// up the new control plane before tearing the old one
// down.
"osmcontroller": map[string]interface{}{
"resource": map[string]interface{}{
"requests": map[string]interface{}{
"cpu": "0.3",
},
},
},
"injector": map[string]interface{}{
"resource": map[string]interface{}{
"requests": map[string]interface{}{
"cpu": "0.1",
},
},
},
},
}
chartPath, err := i.LocateChart("osm", helmEnv)
Expand Down

0 comments on commit b8d533a

Please sign in to comment.