-
Notifications
You must be signed in to change notification settings - Fork 24
fiber.yield() call removed from quantile #241
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
Conversation
dc1f627
to
ea534ac
Compare
lgtm |
715e333
to
3bc3024
Compare
for _=1,500 do | ||
fiber.create(function() | ||
for _=1,1e2 do | ||
t.assert(q1.b_len < q1.__max_samples) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible to reduce test execution time with reduced __max_samples? if this is the case this should be done
.github/workflows/test.yml
Outdated
@@ -65,3 +67,14 @@ jobs: | |||
run: | | |||
GO111MODULE=on go get github.com/prometheus/prometheus/cmd/promtool@a6be548dbc17780d562a39c0e4bd0bd4c00ad6e2 | |||
make test_promtool | |||
stress-test: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it is possible to reduce execution time then we should move this test to unit instead of it's own stage
fiber.yield()
call leads to quantile overflow and segfault.Unfortunately, test that shows overflow is highly stressed and can't be run with other tests. You can see repro run in actions history. I also moved that test to release stage.
I didn't forget about
Close #235