Skip to content

Commit

Permalink
[package testing] Bump status page timeout (elastic#107813) (elastic#…
Browse files Browse the repository at this point in the history
…108750)

The socket timeout for testing whether the status page is available or
not is currently 30 seconds.  This test was disabled for being flaky.
Reproducing this locally hasn't been straight forward, but I am seeing
an average of ~20 seconds, which is close enough to the timeout that I'd
like to rule out machine differences.  This gives the status check 120
seconds before dropping the connection.

Related to elastic#106749 and elastic#107300

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Jonathan Budzenski <[email protected]>
  • Loading branch information
kibanamachine and jbudz authored Aug 16, 2021
1 parent cf65286 commit 40b1562
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions test/package/deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
- assert_keystore_cli
- assert_kibana_yml
- assert_kibana_listening
# flaky https://github.com/elastic/kibana/issues/106749
# - assert_kibana_available
- assert_kibana_available
- assert_kibana_log
- assert_kibana_data
3 changes: 1 addition & 2 deletions test/package/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@
- install_docker
- install_kibana_docker
- assert_kibana_listening
# flaky https://github.com/elastic/kibana/issues/106749
# - assert_kibana_available
- assert_kibana_available
1 change: 1 addition & 0 deletions test/package/roles/assert_kibana_available/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
uri:
url: "http://localhost:5601/api/status"
status_code: [200, 401]
timeout: 120
register: result
until: result.status != 503
retries: 3
Expand Down
3 changes: 1 addition & 2 deletions test/package/rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
- assert_keystore_cli
- assert_kibana_yml
- assert_kibana_listening
# flaky https://github.com/elastic/kibana/issues/106749
# - assert_kibana_available
- assert_kibana_available
- assert_kibana_log
- assert_kibana_data

0 comments on commit 40b1562

Please sign in to comment.