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

network: fix TestSlowPeerDisconnection regression after #5634 #5874

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

algorandskiy
Copy link
Contributor

@algorandskiy algorandskiy commented Dec 15, 2023

Summary

wsNetwork refactoring changed the slowWritingPeerMonitorInterval value in TestSlowPeerDisconnection: it got overwritten in wn.setup by 5s default value that caused test fail time to time when the wait time as a bit greater than 5s.

Failure examples: one, two

Test Plan

This is a test fix.

@algorandskiy algorandskiy force-pushed the pavel/wsnet-slowpeer-test-fix branch from 387f8f5 to 2574f70 Compare December 15, 2023 23:35
Copy link

codecov bot commented Dec 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8f8ada5) 55.91% compared to head (2574f70) 55.91%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5874      +/-   ##
==========================================
- Coverage   55.91%   55.91%   -0.01%     
==========================================
  Files         477      477              
  Lines       67407    67407              
==========================================
- Hits        37689    37688       -1     
+ Misses      27157    27156       -1     
- Partials     2561     2563       +2     

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

@gmalouf gmalouf merged commit 49f95cd into algorand:master Dec 18, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants