mirror of https://github.com/docker/compose.git
Expect failure of `test_create_container_with_blkio_config`
On Linux kernel >= 5.3.x at least the daemon prints 2 warnings: "Your kernel does not support cgroup blkio weight" "Your kernel does not support cgroup blkio weight_device" Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
bff44e6943
commit
afabfbdf8d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue