mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 18:51:17 +00:00
Also - Add test for clustering without weave. - Update test template for docker 1.8 - Prefetch images - Stop all containers when test finishes. - Add small sleep after weave launch, and supply all the hosts to ensure IPAM works correctly.
17 lines
402 B
Bash
Executable File
17 lines
402 B
Bash
Executable File
#! /bin/bash
|
|
|
|
. ./config.sh
|
|
|
|
start_suite "Check scope exits cleanly within 10 seconds"
|
|
|
|
scope_on $HOST1 launch
|
|
scope_on $HOST1 stop
|
|
|
|
sleep 10
|
|
|
|
assert_raises "docker_on $HOST1 logs weavescope 2>&1 | grep 'app exiting'"
|
|
assert_raises "docker_on $HOST1 logs weavescope 2>&1 | grep 'probe exiting'"
|
|
assert_raises "docker_on $HOST1 inspect --format='{{.State.Running}}' weavescope" "false"
|
|
|
|
scope_end_suite
|