From 6b34b8500bbd9aab34daea739e5f9344c2bbafbe Mon Sep 17 00:00:00 2001 From: Antti Kervinen Date: Mon, 6 Nov 2023 09:07:43 +0200 Subject: [PATCH] e2e: fix balloons test02-prometheus-metrics Yet the test allowed scheduling pod0 on any package, it erroneously required memory to be pinned on NUMA node 0. Signed-off-by: Antti Kervinen --- .../balloons/n4c16/test02-prometheus-metrics/code.var.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/policies.test-suite/balloons/n4c16/test02-prometheus-metrics/code.var.sh b/test/e2e/policies.test-suite/balloons/n4c16/test02-prometheus-metrics/code.var.sh index 4661eb85b..c92b7bb9b 100644 --- a/test/e2e/policies.test-suite/balloons/n4c16/test02-prometheus-metrics/code.var.sh +++ b/test/e2e/policies.test-suite/balloons/n4c16/test02-prometheus-metrics/code.var.sh @@ -28,7 +28,7 @@ POD_ANNOTATION="balloon.balloons.resource-policy.nri.io: full-core" CONTCOUNT=2 report allowed verify-metrics-has-line 'balloon="default\[0\]"' verify-metrics-has-line 'balloon="reserved\[0\]"' -verify-metrics-has-line 'balloons{balloon="full-core\[0\]",balloon_type="full-core",containers="pod0/pod0c0,pod0/pod0c1",cpu_class="normal",cpus=".*",cpus_allowed=".*",cpus_allowed_count="2",cpus_count="2",cpus_max="2",cpus_min="2",dies="p[01]d0",dies_count="1",mems="0",numas="p[01]d0n[0-3]",numas_count="1",packages="p[01]",packages_count="1",sharedidlecpus="",sharedidlecpus_count="0",tot_req_millicpu="(199|200)"} 2' +verify-metrics-has-line 'balloons{balloon="full-core\[0\]",balloon_type="full-core",containers="pod0/pod0c0,pod0/pod0c1",cpu_class="normal",cpus=".*",cpus_allowed=".*",cpus_allowed_count="2",cpus_count="2",cpus_max="2",cpus_min="2",dies="p[01]d0",dies_count="1",mems="[0-3]",numas="p[01]d0n[0-3]",numas_count="1",packages="p[01]",packages_count="1",sharedidlecpus="",sharedidlecpus_count="0",tot_req_millicpu="(199|200)"} 2' # pod1 in fast-dualcore[0] CPUREQ="200m" MEMREQ="" CPULIM="200m" MEMLIM=""