mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
19 lines
445 B
Bash
Executable File
19 lines
445 B
Bash
Executable File
#! /bin/bash
|
|
|
|
# shellcheck disable=SC1091
|
|
. ./config.sh
|
|
|
|
start_suite "Launch 2 scopes and check they cluster (without weave)"
|
|
|
|
scope_on "$HOST1" launch --no-app "$HOST2"
|
|
scope_on "$HOST2" launch --no-probe
|
|
|
|
docker_on "$HOST1" run -dit --name db1 peterbourgon/tns-db
|
|
|
|
sleep 30 # need to allow the scopes to poll dns, resolve the other app ids, and send them reports.
|
|
|
|
has_container "$HOST2" weavescope
|
|
has_container "$HOST2" db1
|
|
|
|
scope_end_suite
|