-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[processor/remotetap] TestConsume test failure #32967
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Note that the failure was on |
Looks like this is a result of #32481 |
Looks like for the bigger limit there may be some timing issue going on with The limiter we're using may be checking the second itself from Either way, I believe this is just a flaky test at this point, the limit is getting enforced "close" to its set value. |
Increasing the limit can make this functionality much more obvious: |
I added more information on the issue, but it seems like the limiter being used is especially flaky with timing in tests, so if too many metrics/traces/logs are being sent, the limit won't get fully hit as expected, meaning data will count as two separate intervals in the test (thus not being limited properly). This is flakiness in testing, not the rate limiter's fault, from what I can tell. Also, in `assert.Equal`, the expected value should be first, and the actual value should be second. I've swapped these as the original output of the test failure was causing me confusion. Resolves #32967
Component(s)
processor/remotetap
Describe the issue you're reporting
Failing CI/CD link
Failure output:
The text was updated successfully, but these errors were encountered: