Skip to content

Commit 40290fc

Browse files
committed
Add xfail mark to storageopt test
Signed-off-by: Joffrey F <[email protected]>
1 parent 161bfba commit 40290fc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/integration/api_container_test.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@
66
from docker.constants import IS_WINDOWS_PLATFORM
77
from docker.utils.socket import next_frame_size
88
from docker.utils.socket import read_exactly
9+
910
import pytest
11+
1012
import six
1113

12-
from ..helpers import requires_api_version
14+
from .base import BUSYBOX, BaseAPIIntegrationTest
1315
from .. import helpers
14-
from .base import BaseAPIIntegrationTest, BUSYBOX
16+
from ..helpers import requires_api_version
1517

1618

1719
class ListContainersTest(BaseAPIIntegrationTest):
@@ -423,9 +425,8 @@ def test_create_with_stop_timeout(self):
423425
assert config['Config']['StopTimeout'] == 25
424426

425427
@requires_api_version('1.24')
428+
@pytest.mark.xfail(True, reason='Not supported on most drivers')
426429
def test_create_with_storage_opt(self):
427-
if self.client.info()['Driver'] == 'aufs':
428-
return pytest.skip('Not supported on AUFS')
429430
host_config = self.client.create_host_config(
430431
storage_opt={'size': '120G'}
431432
)

0 commit comments

Comments
 (0)