mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
Merge pull request #3440 from weaveworks/test-basic-ui
Add a check that the top-level UI is not empty
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user