mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 08:28:34 +00:00
Merge pull request #10462 from GabyCT/topic/increstress
tests: Increase time to run stressng k8s tests
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user