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

t: Use explicit wait functions where needed #2765

Merged
merged 3 commits into from
Mar 4, 2020

Conversation

okurz
Copy link
Member

@okurz okurz commented Feb 24, 2020

To not rely on a global Selenium timeout in test functions we should use
our explicit wait functions where they are needed.

@okurz okurz force-pushed the enhance/unstables branch 2 times, most recently from e340402 to eb0365f Compare March 2, 2020 11:29
When the command within "run_once" fails we must not only break the loop
but also preserve the exit code. This was observed when trying out
STABILITY_TEST in more cases which is not affecting our current circle
CI based tests as they do not use STABILITY_TEST anywhere in the current
state.
To not rely on a global Selenium timeout in test functions we should use
our explicit wait functions where they are needed.
@codecov
Copy link

codecov bot commented Mar 3, 2020

Codecov Report

Merging #2765 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2765      +/-   ##
==========================================
+ Coverage   92.11%   92.13%   +0.01%     
==========================================
  Files         190      190              
  Lines       11840    11840              
==========================================
+ Hits        10907    10909       +2     
+ Misses        933      931       -2     
Impacted Files Coverage Δ
lib/OpenQA/Worker/Job.pm 72.43% <0.00%> (+0.32%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ead152...7e543af. Read the comment docs.

@okurz
Copy link
Member Author

okurz commented Mar 4, 2020

I consider this also pair-reviewed with mkittler and mergeable.

@okurz okurz merged commit 4a9ad8f into os-autoinst:master Mar 4, 2020
@okurz okurz deleted the enhance/unstables branch March 24, 2020 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants