tests: Increase time to run stressng k8s tests

This PR increase the time to run the stressng k8s tests for the
CoCo stability CI.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2024-10-24 16:33:14 +00:00
parent 41d1178e4a
commit a3ef8c0a16

View File

@ -20,15 +20,15 @@ function main() {
kubectl wait --for=condition=Ready --timeout=30s pod "${pod_name}"
echo "Running stress matrix test"
cmd1="stress-ng --matrix 0 -t 60m"
cmd1="stress-ng --matrix 0 -t 90m"
kubectl exec "${pod_name}" -- /bin/bash -c "${cmd1}"
echo "Running stress cpu test"
cmd2="stress-ng --cpu 0 --vm 2 -t 60m"
cmd2="stress-ng --cpu 0 --vm 2 -t 90m"
kubectl exec "${pod_name}" -- /bin/bash -c "${cmd2}"
echo "Running stress io test"
cmd3="stress-ng --io 2 -t 60m"
cmd3="stress-ng --io 2 -t 90m"
kubectl exec "${pod_name}" -- /bin/bash -c "${cmd3}"
kubectl delete -f "${SCRIPT_PATH}/runtimeclass_workloads/stress-test.yaml"