Skip to content

Commit

Permalink
Update integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwilkie committed Jan 28, 2016
1 parent 30f2713 commit 4a8b81b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ weave_on $HOST1 run -dti --name client alpine /bin/sh -c "while true; do \
sleep 1; \
done"

wait_for applications $HOST1 60 "nginx: worker process" nc
wait_for processes $HOST1 60 "nginx: worker process" nc

has applications $HOST1 "nginx: worker process"
has applications $HOST1 nc
has_connection applications $HOST1 nc "nginx: worker process"
has processes $HOST1 "nginx: worker process"
has processes $HOST1 nc
has_connection processes $HOST1 nc "nginx: worker process"

scope_end_suite
Original file line number Diff line number Diff line change
Expand Up @@ -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: worker process"
has applications $1 nc
has_connection applications $1 nc "nginx: worker process"
has processes $1 "nginx: worker process"
has processes $1 nc
has_connection processes $1 nc "nginx: worker process"
}

check $HOST1
Expand Down

0 comments on commit 4a8b81b

Please sign in to comment.