-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch autoscaler tests to get them to pass
- Loading branch information
Ben Corlett
committed
Dec 27, 2023
1 parent
42eba89
commit b2d0c79
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
manifests/app-autoscaler/diffs/patch_dynamic_policy_test.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/acceptance/app/dynamic_policy_test.go b/src/acceptance/app/dynamic_policy_test.go | ||
index 1339ff514..ff0a2fe47 100644 | ||
--- a/src/acceptance/app/dynamic_policy_test.go | ||
+++ b/src/acceptance/app/dynamic_policy_test.go | ||
@@ -50,7 +50,7 @@ var _ = Describe("AutoScaler dynamic policy", func() { | ||
|
||
It("should scale out and then back in.", Label(acceptance.LabelSmokeTests), func() { | ||
By(fmt.Sprintf("Use heap %d mb of heap on app", heapToUse)) | ||
- CurlAppInstance(cfg, appName, 0, fmt.Sprintf("/memory/%d/5", heapToUse)) | ||
+ CurlAppInstance(cfg, appName, 0, fmt.Sprintf("/memory/%d/5", heapToUse*1.1)) | ||
|
||
By("wait for scale to 2") | ||
WaitForNInstancesRunning(appGUID, 2, 5*time.Minute) |