Use 'top' instead of 'sleep' as a dummy command

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-05-21 16:19:15 +01:00
commit b0cb31c186
16 changed files with 45 additions and 45 deletions

View file

@ -348,12 +348,12 @@ class ExtendsTest(unittest.TestCase):
{
'name': 'mydb',
'image': 'busybox',
'command': 'sleep 300',
'command': 'top',
},
{
'name': 'myweb',
'image': 'busybox',
'command': 'sleep 300',
'command': 'top',
'links': ['mydb:db'],
'environment': {
"FOO": "1",

View file

@ -14,7 +14,7 @@ class ContainerTest(unittest.TestCase):
self.container_dict = {
"Id": "abc",
"Image": "busybox:latest",
"Command": "sleep 300",
"Command": "top",
"Created": 1387384730,
"Status": "Up 8 seconds",
"Ports": None,