@test "mesos - docker run short lived"

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux 2015-09-01 03:09:03 -07:00
parent 42bb1f3f5b
commit 2accd82815
1 changed files with 13 additions and 0 deletions

View File

@ -28,6 +28,19 @@ function teardown() {
[[ "${output}" == *"cannot specify 64-byte hexadecimal strings"* ]]
}
@test "mesos - docker run short lived" {
start_docker_with_busybox 1
start_mesos
swarm_manage --cluster-driver mesos-experimental 127.0.0.1:$MESOS_MASTER_PORT
# run
run docker_swarm run -m 20m busybox true
# make sure the container was started
run docker_swarm ps -qa
[ "${#lines[@]}" -eq 1 ]
}
@test "mesos - docker run no resources" {
start_docker 1
start_mesos