Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrease timeout when connecting to websocket #6730

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Conversation

dafeda
Copy link
Contributor

@dafeda dafeda commented Nov 30, 2023

Set timeout in wait_for_evaluator

Without this, ert will wait for 60s before letting users know that a workflow has failed.

Pre review checklist

  • Read through the code changes carefully after finishing work
  • Make sure tests pass locally (after every commit!)
  • Prepare changes in small commits for more convenient review (optional)
  • PR title captures the intent of the changes, and is fitting for release notes.
  • Updated documentation
  • Ensured that unit tests are added for all new behavior (See
    Ground Rules),
    and changes to existing code have good test coverage.

Pre merge checklist

  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.

Set timeout in wait_for_evaluator

Without this, ert will wait for 60s before letting users know
that a workflow has failed.

Co-authored-by: Sondre <[email protected]>
@dafeda dafeda requested a review from sondreso November 30, 2023 12:48
@dafeda dafeda self-assigned this Nov 30, 2023
@dafeda dafeda added the release-notes:skip If there should be no mention of this in release notes label Nov 30, 2023
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (86a31ef) 83.56% compared to head (eb7ca6e) 83.56%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6730   +/-   ##
=======================================
  Coverage   83.56%   83.56%           
=======================================
  Files         359      359           
  Lines       20952    20953    +1     
  Branches      948      948           
=======================================
+ Hits        17509    17510    +1     
  Misses       3149     3149           
  Partials      294      294           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

base_url=self._hc_uri,
token=self._token,
cert=self._cert,
base_url=self._hc_uri, token=self._token, cert=self._cert, timeout=5
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use open_timeout instead of hard_coding it?

@dafeda dafeda merged commit a5881af into equinor:main Dec 5, 2023
44 checks passed
@dafeda dafeda deleted the timeout branch December 5, 2023 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:skip If there should be no mention of this in release notes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants