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(s3stream): Add unit tests for TrafficRegulator (#2366) #2395

Merged
merged 3 commits into from
Apr 9, 2025

Conversation

aiivar
Copy link
Contributor

@aiivar aiivar commented Mar 31, 2025

Description

This PR adds comprehensive unit tests for the TrafficRegulator class to validate its dynamic rate adjustment logic.

Changes made

Test scenarios were added:

  • Rate decrease logic
  • Rate increase logic
  • Success rate history handling

closes #2366

@CLAassistant
Copy link

CLAassistant commented Mar 31, 2025

CLA assistant check
All committers have signed the CLA.

Chillax-0v0
Chillax-0v0 previously approved these changes Apr 2, 2025
@Chillax-0v0 Chillax-0v0 merged commit 8e0f694 into AutoMQ:main Apr 9, 2025
6 checks passed
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.

[Good First Issue] Write Unit Tests for TrafficRegulator
3 participants