Only run TestDockerFlags with docker container runtime

This test is failing for contaienrd tests, but it doesn't make sense to run it with anything but docker.
Adding in a skip.
pull/10226/head
Priya Wadhwa 2021-01-22 15:00:28 -08:00
parent 1fe7615e9e
commit aeb45368d7
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ func TestDockerFlags(t *testing.T) {
if NoneDriver() {
t.Skip("skipping: none driver does not support ssh or bundle docker")
}
if ContainerRuntime() != "docker" {
t.Skipf("skipping: only runs with docker container runtime, currently testing %s", ContainerRuntime())
}
MaybeParallel(t)
profile := UniqueProfileName("docker-flags")