Skip to content

Commit

Permalink
ci: Reenable OOM and sysctl tests when using clh
Browse files Browse the repository at this point in the history
Fixes: kata-containers#2864

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
  • Loading branch information
fidencio committed May 26, 2021
1 parent 1d0791b commit dcfcfd3
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions integration/kubernetes/run_kubernetes_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ K8S_TEST_UNION=("k8s-attach-handlers.bats" \
"k8s-liveness-probes.bats" \
"k8s-memory.bats" \
"k8s-number-cpus.bats" \
"k8s-oom.bats" \
"k8s-parallel.bats" \
"k8s-pid-ns.bats" \
"k8s-pod-quota.bats" \
Expand All @@ -47,26 +48,13 @@ K8S_TEST_UNION=("k8s-attach-handlers.bats" \
"k8s-qos-pods.bats" \
"k8s-replication.bats" \
"k8s-scale-nginx.bats" \
"k8s-sysctls.bats" \
"k8s-security-context.bats" \
"k8s-shared-volume.bats" \
"k8s-volume.bats" \
"nginx.bats" \
"k8s-hugepages.bats")

if [ "${KATA_HYPERVISOR:-}" == "cloud-hypervisor" ]; then
sysctl_issue="https://github.com/kata-containers/tests/issues/2324"
info "$KATA_HYPERVISOR sysctl is failing:"
info "sysctls: ${sysctl_issue}"

oom_issue="https://github.com/kata-containers/tests/issues/2864"
info "$KATA_HYPERVISOR is failing on:"
info "pod oom: ${oom_issue}"
else
K8S_TEST_UNION+=("k8s-sysctls.bats")
# filter_k8s_test.sh requires a space at the end of the last component
K8S_TEST_UNION+=("k8s-oom.bats ")
fi

# we may need to skip a few test cases when running on non-x86_64 arch
if [ -f "${cidir}/${arch}/configuration_${arch}.yaml" ]; then
config_file="${cidir}/${arch}/configuration_${arch}.yaml"
Expand Down

0 comments on commit dcfcfd3

Please # to comment.