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

Rate Limit tests #953

Merged
merged 5 commits into from
Oct 5, 2023
Merged

Rate Limit tests #953

merged 5 commits into from
Oct 5, 2023

Conversation

diegomrsantos
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #953 (6d453c4) into unstable (459f685) will increase coverage by 0.17%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           unstable     #953      +/-   ##
============================================
+ Coverage     83.04%   83.21%   +0.17%     
============================================
  Files            91       91              
  Lines         15308    15308              
============================================
+ Hits          12712    12739      +27     
+ Misses         2596     2569      -27     

see 9 files with indirect coverage changes

@diegomrsantos diegomrsantos force-pushed the traffic-score-tests branch 2 times, most recently from e6efbba to f9b67f8 Compare October 2, 2023 19:47
@diegomrsantos diegomrsantos marked this pull request as ready for review October 3, 2023 15:49
@diegomrsantos diegomrsantos changed the title Traffic score tests Rate Limit tests Oct 3, 2023
await gossip0.peers[gossip1.switch.peerInfo.peerId].sendEncoded(newSeqWith[byte](30, 1.byte))
await sleepAsync(300.millis)

check getCurrentDisconnections() == disconnections + 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Once this actually disconnects, we should check here that we are no longer connected
Can you add a TODO?

Otherwise, LGTM

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Did this and other minor improvements.

Menduist
Menduist previously approved these changes Oct 4, 2023
@diegomrsantos diegomrsantos enabled auto-merge (squash) October 5, 2023 14:43
@diegomrsantos diegomrsantos merged commit 18b0f72 into unstable Oct 5, 2023
10 checks passed
@diegomrsantos diegomrsantos deleted the traffic-score-tests branch October 5, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: done
Development

Successfully merging this pull request may close these issues.

2 participants