mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-31 17:37:20 +00:00 
			
		
		
		
	checkmetrics: Enable checkmetrics for memory inside test
This PR enables the checkmetrics to include the memory inside container test. Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
		| @@ -42,6 +42,6 @@ description = "measure memory inside the container" | ||||
| # within (inclusive) | ||||
| checkvar = ".\"memory-footprint-inside-container\".Results | .[] | .memtotal.Result" | ||||
| checktype = "mean" | ||||
| midval = 4135112.0 | ||||
| minpercent = 20.0 | ||||
| maxpercent = 20.0 | ||||
| midval = 3677280.0 | ||||
| minpercent = 25.0 | ||||
| maxpercent = 25.0 | ||||
|   | ||||
| @@ -9,7 +9,6 @@ | ||||
| #  is measured by using /proc/meminfo. | ||||
|  | ||||
| set -e | ||||
| set -x | ||||
|  | ||||
| # General env | ||||
| SCRIPT_PATH=$(dirname "$(readlink -f "$0")") | ||||
|   | ||||
| @@ -120,8 +120,6 @@ function run_test_memory_usage() { | ||||
|  | ||||
| 	create_symbolic_links | ||||
| 	bash tests/metrics/density/memory_usage.sh 20 5 | ||||
|  | ||||
| 	check_metrics | ||||
| } | ||||
|  | ||||
| function run_test_memory_usage_inside_container() { | ||||
| @@ -129,6 +127,8 @@ function run_test_memory_usage_inside_container() { | ||||
|  | ||||
| 	create_symbolic_links | ||||
| 	bash tests/metrics/density/memory_usage_inside_container.sh 5 | ||||
|  | ||||
| 	check_metrics | ||||
| } | ||||
|  | ||||
| function run_test_blogbench() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user