Skip to content

Commit

Permalink
[package testing] Bump status page timeout (#107813)
Browse files Browse the repository at this point in the history
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 #106749 and #107300

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
jbudz and kibanamachine committed Aug 16, 2021
1 parent c92da6d commit 1476d3e
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 1476d3e

Please sign in to comment.