Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions test/suites/performance/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ var _ = Describe("Performance", Label(debug.NoWatch), func() {
"Average CPU utilization should be greater than 53%")
Expect(scaleOutReport.TotalReservedMemoryUtil).To(BeNumerically(">", MemoryUtilThreshold("basic/scaleOut", 0.65)),
"Average memory utilization should be greater than 65%")
Expect(scaleOutReport.KarpenterP95MemoryMB).To(BeNumerically("<", MemoryThreshold("basic/scaleOut", 260)),
"Karpenter controller P95 memory should be less than 260 MB during scale-out")
Expect(scaleOutReport.KarpenterP95MemoryMB).To(BeNumerically("<", MemoryThreshold("basic/scaleOut", 320)),
"Karpenter controller P95 memory should be less than 320 MB during scale-out")
Expect(scaleOutReport.KarpenterAvgCPUCores).To(BeNumerically("<", CPUThreshold("basic/scaleOut", 0.50)),
"Karpenter controller avg CPU should be less than 0.50 cores during scale-out")

Expand All @@ -75,10 +75,10 @@ var _ = Describe("Performance", Label(debug.NoWatch), func() {
Expect(consolidationReport.PodsNetChange).To(Equal(-300), "Should have net reduction of 300 pods")
Expect(consolidationReport.TotalTime).To(BeNumerically("<", TotalTimeThreshold("basic/consolidation", 20*time.Minute)),
"Consolidation should complete within 20 minutes")
Expect(consolidationReport.KarpenterP95MemoryMB).To(BeNumerically("<", MemoryThreshold("basic/consolidation", 260)),
"Karpenter controller P95 memory should be less than 260 MB during consolidation")
Expect(consolidationReport.KarpenterAvgCPUCores).To(BeNumerically("<", CPUThreshold("basic/consolidation", 0.25)),
"Karpenter controller avg CPU should be less than 0.25 cores during consolidation")
Expect(consolidationReport.KarpenterP95MemoryMB).To(BeNumerically("<", MemoryThreshold("basic/consolidation", 320)),
"Karpenter controller P95 memory should be less than 320 MB during consolidation")
Expect(consolidationReport.KarpenterAvgCPUCores).To(BeNumerically("<", CPUThreshold("basic/consolidation", 0.40)),
"Karpenter controller avg CPU should be less than 0.40 cores during consolidation")

})
})
Expand Down
6 changes: 3 additions & 3 deletions test/suites/performance/wide_deployments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ var _ = Describe("Performance", Label(debug.NoWatch), func() {

// Performance assertions for wide deployments
Expect(scaleOutReport.TotalTime).To(BeNumerically("<", TotalTimeThreshold("wideDeployments/scaleOut", 5*time.Minute)),
"Total scale-out time should be less than 10 minutes")
"Total scale-out time should be less than 5 minutes")
Expect(scaleOutReport.TotalReservedCPUUtil).To(BeNumerically(">", CPUUtilThreshold("wideDeployments/scaleOut", 0.2)),
"Average CPU utilization should be greater than 20%")
Expect(scaleOutReport.TotalReservedMemoryUtil).To(BeNumerically(">", MemoryUtilThreshold("wideDeployments/scaleOut", 0.20)),
Expand Down Expand Up @@ -214,8 +214,8 @@ var _ = Describe("Performance", Label(debug.NoWatch), func() {
"Average memory utilization should be greater than 20%")
Expect(consolidationReport.KarpenterP95MemoryMB).To(BeNumerically("<", MemoryThreshold("wideDeployments/consolidation", 340)),
"Karpenter controller P95 memory should be less than 340 MB during consolidation")
Expect(consolidationReport.KarpenterAvgCPUCores).To(BeNumerically("<", CPUThreshold("wideDeployments/consolidation", 0.30)),
"Karpenter controller avg CPU should be less than 0.30 cores during consolidation")
Expect(consolidationReport.KarpenterAvgCPUCores).To(BeNumerically("<", CPUThreshold("wideDeployments/consolidation", 0.45)),
"Karpenter controller avg CPU should be less than 0.45 cores during consolidation")

})
})
Expand Down