Move priority option to service network reference

Add ordering to networks.get_networks
Fix priority test

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2018-01-11 18:48:56 -08:00
parent 4839baf877
commit d63500a191
15 changed files with 99 additions and 60 deletions

View file

@ -1274,13 +1274,6 @@ class CLITestCase(DockerClientTestCase):
bar_container.id
)
def test_up_ordered_networks(self):
self.base_dir = 'tests/fixtures/networks'
result = self.dispatch(['-f', 'ordered-networks.yml', 'up', '-d'])
assert 'Connecting to networks_buzz\nConnecting to networks_foo' \
'\nConnecting to networks_bar' in result.stdout
@v3_only()
def test_up_with_healthcheck(self):
def wait_on_health_status(container, status):