mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
Fix tests.
This commit is contained in:
@@ -12,10 +12,10 @@ weave_on $HOST1 run -dti --name client alpine /bin/sh -c "while true; do \
|
||||
sleep 1; \
|
||||
done"
|
||||
|
||||
wait_for application $HOST1 60 nginx client
|
||||
wait_for applications $HOST1 60 nginx client
|
||||
|
||||
has applications $HOST1 nginx
|
||||
has applications $HOST1 "nginx: worker process"
|
||||
has applications $HOST1 nc
|
||||
has_connection applications $HOST1 nc nginx
|
||||
has_connection applications $HOST1 nc "nginx: worker process"
|
||||
|
||||
scope_end_suite
|
||||
|
||||
@@ -19,9 +19,9 @@ done"
|
||||
sleep 30 # need to allow the scopes to poll dns, resolve the other app ids, and send them reports
|
||||
|
||||
check() {
|
||||
has applications $1 nginx
|
||||
has applications $1 "nginx: worker process"
|
||||
has applications $1 nc
|
||||
has_connection applications $1 nc nginx
|
||||
has_connection applications $1 nc "nginx: worker process"
|
||||
}
|
||||
|
||||
check $HOST1
|
||||
|
||||
Reference in New Issue
Block a user