Closed Coderlane closed 6 years ago
Awesome! One change: this will need to check TRAVIS_SUDO
to see if we have it enabled (we don't enable it on all hosts).
Good catch, I've added that check. I also limited the ulimit change to OSX because the Linux runs don't need it.
Thanks!
This adds a section to run-standard-tests.sh to configure various environment settings on TravisCI hosts. Currently we'll do the following:
1) On Linux hosts re-enable IPv6 support. 2) On OSX hosts increase the global maximum open file descriptor limit to 8192.
This is the successor to https://github.com/libp2p/go-reuseport/pull/35. I tested the script and another modification on TravisCI and it seems to fix the issues go-reuseport was having on OSX.