Disable crictl tests

gvisor-containerd-shim installation is currently broken.

PiperOrigin-RevId: 223002877
Change-Id: I2b890c5bf602a96c475c3805f24852ead8593a35
This commit is contained in:
Michael Pratt 2018-11-27 09:24:17 -08:00 committed by Shentubot
parent b3b60ea29a
commit 071aeea9d3
2 changed files with 14 additions and 4 deletions

View File

@ -100,10 +100,11 @@ EOF
)
# Install containerd and crictl.
if [[ ${exit_code} -eq 0 ]]; then
installCrictl
exit_code=${?}
fi
# FIXME: gvisor-containerd-shim installation broken.
#if [[ ${exit_code} -eq 0 ]]; then
# installCrictl
# exit_code=${?}
#fi
# Execute local tests that require docker.
if [[ ${exit_code} -eq 0 ]]; then

View File

@ -37,6 +37,9 @@ import (
// Tests for crictl have to be run as root (rather than in a user namespace)
// because crictl creates named network namespaces in /var/run/netns/.
func TestCrictlSanity(t *testing.T) {
// FIXME
t.Skip("crictl installation broken")
// Setup containerd and crictl.
crictl, cleanup, err := setup(t)
if err != nil {
@ -59,6 +62,9 @@ func TestCrictlSanity(t *testing.T) {
}
}
func TestMountPaths(t *testing.T) {
// FIXME
t.Skip("crictl installation broken")
// Setup containerd and crictl.
crictl, cleanup, err := setup(t)
if err != nil {
@ -81,6 +87,9 @@ func TestMountPaths(t *testing.T) {
}
}
func TestMountOverSymlinks(t *testing.T) {
// FIXME
t.Skip("crictl installation broken")
// Setup containerd and crictl.
crictl, cleanup, err := setup(t)
if err != nil {