Merge pull request #7519 from ulyssessouza/xfail-blkio

Expect failure of `test_create_container_with_blkio_config`
This commit is contained in:
Ulysses Souza 2020-06-08 17:24:57 +02:00 committed by GitHub
commit e365a920e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,6 +223,9 @@ class ServiceTest(DockerClientTestCase):
service.start_container(container)
assert container.get('HostConfig.ReadonlyRootfs') == read_only
@pytest.mark.xfail(True, reason='Getting "Your kernel does not support '
'cgroup blkio weight and weight_device" on daemon start '
'on Linux kernel 5.3.x')
def test_create_container_with_blkio_config(self):
blkio_config = {
'weight': 300,