Merge pull request #2889 from dnephin/fix_test_broken_on_master

Shm_size requires docker 1.10
This commit is contained in:
Joffrey F 2016-02-11 11:18:45 -08:00
commit 830a9fc118
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ class ServiceTest(DockerClientTestCase):
self.assertEqual(container.get('HostConfig.CpuQuota'), 40000)
def test_create_container_with_shm_size(self):
self.require_api_version('1.22')
service = self.create_service('db', shm_size=67108864)
container = service.create_container()
service.start_container(container)