Skip to content

Commit

Permalink
Add a check that the top-level UI is not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Nov 23, 2018
1 parent 3237208 commit a32ebf2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration/100_launch_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ wait_for_containers "$HOST1" 60 weave weavescope
has_container "$HOST1" weave
has_container "$HOST1" weavescope

# Fail if the top-level UI is suspiciously small
ui_len="$(curl -s "http://$HOST1:4040/" | wc -c)"
assert_raises "(( $ui_len > 500 ))" 0

scope_end_suite

0 comments on commit a32ebf2

Please sign in to comment.