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

*: fix flaky testpeers test #3267

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Conversation

KaloyanTanev
Copy link
Contributor

@KaloyanTanev KaloyanTanev commented Sep 9, 2024

  • fix test peers on timeout, sometimes it went in the case where the current context is done, but the result of the currently running test wasn't sent to the channel
  • fix wrongly named variables

category: test
ticket: none

@KaloyanTanev KaloyanTanev changed the title *: test in pipeline *: fix flaky testpeers test Sep 9, 2024
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.77%. Comparing base (82c9ee4) to head (4aff1e1).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3267      +/-   ##
==========================================
+ Coverage   57.69%   57.77%   +0.07%     
==========================================
  Files         211      211              
  Lines       30396    30418      +22     
==========================================
+ Hits        17536    17573      +37     
+ Misses      10972    10960      -12     
+ Partials     1888     1885       -3     

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

@KaloyanTanev KaloyanTanev force-pushed the kalo/fix-testpeers-flaky-test branch 12 times, most recently from 79dc8a0 to b50ec3a Compare September 10, 2024 09:37
Copy link

sonarcloud bot commented Sep 10, 2024

@KaloyanTanev KaloyanTanev self-assigned this Sep 10, 2024
@KaloyanTanev KaloyanTanev added the merge when ready Indicates bulldozer bot may merge when all checks pass label Sep 10, 2024
@obol-bulldozer obol-bulldozer bot merged commit af6f87b into main Sep 10, 2024
14 checks passed
@obol-bulldozer obol-bulldozer bot deleted the kalo/fix-testpeers-flaky-test branch September 10, 2024 11:25
obol-bulldozer bot pushed a commit that referenced this pull request Sep 10, 2024
Fixing flaky test in previous PR #3267 revealed another issue. Fixing that one, which is purely unit test related.

category: test
ticket: none
obol-bulldozer bot pushed a commit that referenced this pull request Sep 12, 2024
After #3267 was merged, on `ctx.Done()` we push the latest unfinished test. This causes out of range in the outer function in some ocassions.

category: bug
ticket: none
pinebit pushed a commit that referenced this pull request Sep 16, 2024
- fix test peers on timeout, sometimes it went in the case where the current context is done, but the result of the currently running test wasn't sent to the channel
- fix wrongly named variables

category: test
ticket: none
pinebit pushed a commit that referenced this pull request Sep 16, 2024
Fixing flaky test in previous PR #3267 revealed another issue. Fixing that one, which is purely unit test related.

category: test
ticket: none
pinebit pushed a commit that referenced this pull request Sep 16, 2024
After #3267 was merged, on `ctx.Done()` we push the latest unfinished test. This causes out of range in the outer function in some ocassions.

category: bug
ticket: none
@pinebit pinebit mentioned this pull request Sep 16, 2024
obol-bulldozer bot pushed a commit that referenced this pull request Sep 17, 2024
For release v1.1.1 cherry picked:

* [core/validatorapi: workaround for Gnosis proposals](#3238)
* [*: enable gnosis hotfix automatically](#3257)
*: [fix flaky testpeers test #3267](#3267)
* [cmd: increase testpeers tests timeouts #3268](#3268)
* [cmd: fix test peers out of range #3280](#3280)
* [testutil: update docker-compose command to docker compose](#3249)

category: misc
ticket: none
gsora pushed a commit that referenced this pull request Sep 18, 2024
- fix test peers on timeout, sometimes it went in the case where the current context is done, but the result of the currently running test wasn't sent to the channel
- fix wrongly named variables

category: test
ticket: none
gsora pushed a commit that referenced this pull request Sep 18, 2024
Fixing flaky test in previous PR #3267 revealed another issue. Fixing that one, which is purely unit test related.

category: test
ticket: none
gsora pushed a commit that referenced this pull request Sep 18, 2024
After #3267 was merged, on `ctx.Done()` we push the latest unfinished test. This causes out of range in the outer function in some ocassions.

category: bug
ticket: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants