mirror of https://github.com/docker/docs.git
Merge pull request #1187 from vieux/add_short_live_test_mesos
@test "mesos - docker run short lived"
This commit is contained in:
commit
9e6ac5cfa6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue