mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 14:32:33 +00:00
gha: k8s: dragonball: Skip k8s-oom
Let's skip the k8s-oom, as the test is currently failing. We've an issue opened for that, and we'll be working on re-enabling it as soon as possible. Reference: https://github.com/kata-containers/kata-containers/issues/7271 Fixes: #7253 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
a79505b667
commit
828a721838
@ -9,11 +9,15 @@ load "${BATS_TEST_DIRNAME}/../../common.bash"
|
|||||||
load "${BATS_TEST_DIRNAME}/tests_common.sh"
|
load "${BATS_TEST_DIRNAME}/tests_common.sh"
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
[ "${KATA_HYPERVISOR}" == "dragonball" ] && skip "Test is currently failing, see: https://github.com/kata-containers/kata-containers/issues/7271"
|
||||||
|
|
||||||
pod_name="pod-oom"
|
pod_name="pod-oom"
|
||||||
get_pod_config_dir
|
get_pod_config_dir
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "Test OOM events for pods" {
|
@test "Test OOM events for pods" {
|
||||||
|
[ "${KATA_HYPERVISOR}" == "dragonball" ] && skip "Test is currently failing, see: https://github.com/kata-containers/kata-containers/issues/7271"
|
||||||
|
|
||||||
# Create pod
|
# Create pod
|
||||||
kubectl create -f "${pod_config_dir}/$pod_name.yaml"
|
kubectl create -f "${pod_config_dir}/$pod_name.yaml"
|
||||||
|
|
||||||
@ -29,6 +33,8 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
|
[ "${KATA_HYPERVISOR}" == "dragonball" ] && skip "Test is currently failing, see: https://github.com/kata-containers/kata-containers/issues/7271"
|
||||||
|
|
||||||
# Debugging information
|
# Debugging information
|
||||||
kubectl describe "pod/$pod_name"
|
kubectl describe "pod/$pod_name"
|
||||||
kubectl get "pod/$pod_name" -o yaml
|
kubectl get "pod/$pod_name" -o yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user