Skip to content

Add retry and enable UTs for Windows#1215

Merged
peternied merged 1 commit intoopensearch-project:mainfrom
peternied:reenable
Nov 15, 2022
Merged

Add retry and enable UTs for Windows#1215
peternied merged 1 commit intoopensearch-project:mainfrom
peternied:reenable

Conversation

@peternied
Copy link
Member

Description

Added a retry around the the bootstrap that previously failed due to network issues. Ran the new version of this workflow 100 iterations on linux and windows, both passed at 100% [1].

Without the retry during a run of 100 iterations [2], the windows test failed once during the bootstrap. If we see future issues, we could attempt to add retries to them following this same pattern.

[1] https://github.com/peternied/security-dashboards-plugin/actions/runs/3449518073
[2] https://github.com/peternied/security-dashboards-plugin/actions/runs/3449040181

Issues Resolved

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Added a retry around the the bootstrap that previously failed due to network issues.  Ran the new version of this workflow 100x on linux and 100x on windows, both passed at 100% [1].

Without the retry during a run of 100 times iterations [2], the windows test failed once during the bootstrap.  If we see future issues, we could attempt to add retries to them following this same pattern.

[1] https://github.com/peternied/security-dashboards-plugin/actions/runs/3449518073
[2] https://github.com/peternied/security-dashboards-plugin/actions/runs/3449040181

- Resolves opensearch-project#1211
- Resolves opensearch-project#1195

Signed-off-by: Peter Nied <petern@amazon.com>
@peternied peternied requested a review from a team November 14, 2022 22:14
@codecov-commenter
Copy link

codecov-commenter commented Nov 14, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.78%. Comparing base (257325c) to head (48abaa3).
⚠️ Report is 256 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1215   +/-   ##
=======================================
  Coverage   71.78%   71.78%           
=======================================
  Files          88       88           
  Lines        2027     2027           
  Branches      269      269           
=======================================
  Hits         1455     1455           
  Misses        509      509           
  Partials       63       63           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@peternied peternied merged commit 3abb707 into opensearch-project:main Nov 15, 2022
@peternied peternied deleted the reenable branch November 15, 2022 16:40
@peternied peternied added the backport 2.x backport to 2.x branch label Nov 16, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 16, 2022
Added a retry around the the bootstrap that previously failed due to network issues.  Ran the new version of this workflow 100 iterations on linux and windows, both passed at 100% [1].

Without the retry during a run of 100 iterations [2], the windows test failed once during the bootstrap.  If we see future issues, we could attempt to add retries to them following this same pattern.

[1] https://github.com/peternied/security-dashboards-plugin/actions/runs/3449518073
[2] https://github.com/peternied/security-dashboards-plugin/actions/runs/3449040181

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit 3abb707)
cwperks pushed a commit that referenced this pull request Nov 16, 2022
Added a retry around the the bootstrap that previously failed due to network issues.  Ran the new version of this workflow 100 iterations on linux and windows, both passed at 100% [1].

Without the retry during a run of 100 iterations [2], the windows test failed once during the bootstrap.  If we see future issues, we could attempt to add retries to them following this same pattern.

[1] https://github.com/peternied/security-dashboards-plugin/actions/runs/3449518073
[2] https://github.com/peternied/security-dashboards-plugin/actions/runs/3449040181

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit 3abb707)

Co-authored-by: Peter Nied <petern@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.x backport to 2.x branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Test Failures] UTs Are Flaky on Windows. To Fix and Re-enable Later. [Flaky Tests] Windows UTs Are Flaky

4 participants