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

Set the pool to 20 in test_helper.rb. #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sorenstoutner
Copy link

I am the maintainer of the Debian with_advisory_lock package.

https://tracker.debian.org/pkg/ruby-with-advisory-lock

Currently, tests are failing during build because the environment spawns a pool of 5 but the tests run with 10 workers, leading some of the connections to fail.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095888

The solution is this simple pull request.

https://lists.debian.org/debian-ruby/2025/03/msg00013.html

I have already applied this to the Debian package, but I assume that having it upstream will be helpful for other people.

Copy link

@utkarsh2102 utkarsh2102 left a comment

Choose a reason for hiding this comment

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

thanks, however the last line change is probably best if avoided in this commit but very minor. :)

@sorenstoutner
Copy link
Author

Interesting. I didn't edit the last line myself. Rather, I used GitHub's build-in web editor to add line 21. I appears that the original file did not terminate in a LF (Line Feed). The Linux standard expects all text files to end in an LF. A lot of Linux editors automatically add one if it is missing, and it appears that GitHub's web editor is programmed to do so.

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