mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
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:
parent
41d1178e4a
commit
a3ef8c0a16
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user