From 49878ededccbebed880c5daa7a883f60785eb4f4 Mon Sep 17 00:00:00 2001 From: Xinhe Li Date: Thu, 5 Dec 2024 08:37:19 +0000 Subject: [PATCH] f Signed-off-by: Xinhe Li --- src/general/containerlimits/src_test.rego | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/general/containerlimits/src_test.rego b/src/general/containerlimits/src_test.rego index f719e90b6..0f8fdfd2e 100644 --- a/src/general/containerlimits/src_test.rego +++ b/src/general/containerlimits/src_test.rego @@ -60,7 +60,7 @@ test_no_parse_cpu_skip { test_no_parse_ram { inp := {"review": review([ctr("a", "1asdf", "2")]), "parameters": {"memory": "2", "cpu": "4"}} results := violation with input as inp - count(results) == 0 + count(results) == 1 } test_1_bad_cpu { inp := {"review": review([ctr("a", "1", "2"), ctr("b", "1", "8")]), "parameters": {"memory": "2", "cpu": "4"}}