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

Make the tests complete earlier. #1848

Merged

Conversation

newacorn
Copy link
Contributor

Reduce the test duration to 36% of the original time.
Before Time Spend See Issue: #1839
After Commit:

~/GolandProjects/cbrotli_bug/fasthttp fasthttp_test_issue2*
❯ go test .
ok  	github.com/valyala/fasthttp	2.558s

~/GolandProjects/cbrotli_bug/fasthttp fasthttp_test_issue2*
❯ go test -count=2
PASS
ok  	github.com/valyala/fasthttp	4.976s

~/GolandProjects/cbrotli_bug/fasthttp fasthttp_test_issue2* 5s
❯ go test -count=3 .
ok  	github.com/valyala/fasthttp	7.389s

~/GolandProjects/cbrotli_bug/fasthttp fasthttp_test_issue2* 8s
❯ go test -count=4 .
ok  	github.com/valyala/fasthttp	9.991s

Reduce the test duration to 36% of the original time.
@erikdubbelboer erikdubbelboer merged commit c15489d into valyala:master Aug 31, 2024
15 checks passed
@erikdubbelboer
Copy link
Collaborator

Thanks!

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.

2 participants