diff --git a/ci/openshift-ci/test.sh b/ci/openshift-ci/test.sh index d012e5670..9f2a4f7a3 100755 --- a/ci/openshift-ci/test.sh +++ b/ci/openshift-ci/test.sh @@ -26,6 +26,9 @@ info "Install and configure kata into the test cluster" export SELINUX_PERMISSIVE="no" "${script_dir}/cluster/install_kata.sh" || die "Failed to install kata-containers" +info "Overriding KATA_RUNTIME cpu resources" +oc patch "runtimeclass/${KATA_RUNTIME}" -p '{"overhead": {"podFixed": {"cpu": "50m"}}}' + info "Run test suite: ${suite}" test_status='PASS' "${script_dir}/run_${suite}_test.sh" || test_status='FAIL'