瀏覽代碼

Merge pull request #7519 from ulyssessouza/xfail-blkio

Expect failure of `test_create_container_with_blkio_config`
Ulysses Souza 5 年之前
父節點
當前提交
e365a920e6
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tests/integration/service_test.py

+ 3 - 0
tests/integration/service_test.py

@@ -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,