about summary refs log tree commit homepage
path: root/t
DateCommit message (Collapse)
2019-01-02t/test_isolate: various version updates
2019-01-02t/hijack.ru: avoid shadow warning
2019-01-02quiet mismatched indentation warnings
Ruby trunk started warning about more mismatched indentations starting around r62836.
2017-04-02tests: update isolate deps for unicorn and raindrops
Newer versions were just released, so we should test with them to prevent mishaps like <https://bogomips.org/rainbows-public/9267B33C-D13C-47E1-8892-4777B96DDCD1@gmail.com/> from surfacing :x
2017-01-09eventmachine: wait for deferred actions to finish em-deferred
Since EventMachine 1.0.0 in 2012, the EM.defers_finish? API exists to check for the existence of deferred actions. Support it if it exists in the running version of EM and update the note in our SIGNALS document. Thanks to <alex0375@gmail.com> on the mailing list for bringing this up: https://bogomips.org/rainbows-public/CAKwvcL-VH3we4qA1pkNAstTmWvqNA=Rir2N_YiWztV_qbaLQvA@mail.gmail.com/
2017-01-09tests: re-enable EventMachine tests, again
Based on activity in <git://github.com/eventmachine/eventmachine>, EventMachine seems to be maintained, again, so resume testing our integration tests.
2016-12-24Revert "t/t0044-autopush.sh: remove test"
Stuck between a rock and a hard place.. This reverts commit 5c911ab2470a2ca9c140b3a2e20ae810bf758590 and restores autopush support when using kgio 2.11.0+ Explanations on the kgio mailing list below: https://bogomips.org/kgio-public/20161216-kgio-2.11.0-released@fail/ https://bogomips.org/kgio-public/20161216000110.GA7366@untitled/T/#u We can drop kgio when we drop Ruby <= 2.2 support in a few years.
2016-11-17support rack 2.x
This requires updating to unicorn 5.1+ to relax the rack requirement. Unlike unicorn, Rainbows! is considerably larger and cannot function without rack installed. There were no code changes required to pass the test suite; but some other optional gems needed to be updated for testing. Support for async_sinatra is no longer tested as that is tied to rack 1.x; but the remaining EventMachine-dependent parts remain tested. Thanks to Julia López Aladro for reminding us on the mailing list: https://bogomips.org/rainbows-public/CAPhSs6OAU+motd+MF=WOSek9==StLjEQJsNwAO3-aRWCZzhs=g@mail.gmail.com/
2016-11-17tests: use correct file:// URL for random_blob path
Apparently RFC1738 designates hostname support for file:// and curl historically had this wrong, but my current curl version (7.38.0-4+deb8u5 from Debian 8) is stricter. Anyways, this seems to handle $PWD with spaces and possibly other strange characters, so URL encoding here doesn't seem to be strictly necessary.
2015-11-24t0105: fix test reliability
It's possible curl will be sending to us and detect an error in the send before it has a chance to read our (premature) 413 response. Of course, we cannot afford to read an entire request when returning a premature 413 response because we risk wasting bandwidth that way.
2015-11-21bump to unicorn 5.0.1, use monotonic clock
The timeout (mis)feature in unicorn uses the monotonic clock if available. We must follow suit to avoid having our timeout functionality completely broken.
2015-09-14t/test_isolate.rb: updates for various gem versions
2015-09-14t/t0044-autopush.sh: remove test
kgio no longer does anything with autopush, so this test is broken. Autopush was overkill and badly done (MSG_MORE is better on Linux, FreeBSD should copy it :P).
2015-09-14t/close-has-env.ru: ensure close is idempotent
Ruby 2.3.0 will have idempotent IO#close, so closing an IO twice will be idempotent and not raise an IOError exception. Ensure we do not rely on the IOError exception to catch our own errors.
2015-09-14build: fix quoting issue with double parens
Apparently GNU make parses that strangely and mangles it for the shell...
2014-10-08update dependencies for Ruby 2.2.0dev
This will allow me to test for unintentional breakage in 2.2.0. Part of the reason for putting this project on maintenance mode is because many of the libraries we depend on have not kept up with the latest changes to Ruby. So we will disable many tests for 2.2+ to ensure the core parts remain working.
2014-05-12documentation updates for Rubyforge death
We're migrating to a new public-inbox[1] + mailing list rainbows-public@bogomips.org [1] http://public-inbox.org/
2014-01-29update EventMachine tests
EM 1.0.3 got released and seems to work under Ruby 2.1, so re-enable EM and NeverBlock tests again.
2014-01-29disable cramp tests for now
Cramp seems broken for now, we'll deal with it at another time and I'm not sure if it ever took off...
2014-01-17unicorn 4.8 compatibility + test version bumps
Internal reworking of unicorn 4.8.0 completely broke us(!). This commit fixes things, but it means we no longer support unicorn <= 4.7. Sorry about that.
2013-09-13Match against newer curl.
My curl 7.32.0 would actually print 400 Bad Request Hope this would make it match against newer or older curl. Signed-off-by: Eric Wong <normalperson@yhbt.net>
2013-04-24test_isolate: update raindrops to 0.11.0
raindrops 0.11.0 was released several days ago and contains minor improvements + fixes.
2013-02-26tests: update checks for Ruby 2.0.0
EventMachine/NeverBlock currently do not build on Ruby 2.0.0
2013-02-26bump unicorn dependency to 4.6.2+ for Ruby 2.0.0
This ensures we're compatible with the latest stable Ruby version.
2013-02-11hijacking support for Rack 1.5.x users
This requires Rack 1.5.x and unicorn 4.6.0 for hijacking support. Older versions of Rack continue to work fine, but we must use unicorn 4.6.0 features to support this.
2013-02-04tests: "wc -l" portability for *BSDs
On FreeBSD 9.0, "wc -l" emits leading whitespace, so filter it through tr -d '[:space:]' to eliminate it.
2013-02-01tests: bump version dependencies for Isolate
Most of these test dependencies may be safely bumped.
2013-02-01tests: "wc -c" portability for *BSDs
On FreeBSD 9.0, "wc -c" emits leading whitespace, so filter it through tr -d '[:space:]' to eliminate it.
2013-02-01tests: replace non-portable "date +%s" with ruby equivalent
"date +%s" is not in POSIX (it is in GNU, and at least FreeBSD 9.0, possibly earlier). The Ruby equivalent should be sufficiently portable between different Ruby versions. This change was automated via: perl -i -p -e 's/date \+%s/unix_time/' t/*.sh
2013-02-01tests: remove utee and use tee(1) instead
POSIX already stipulates tee(1) must be unbuffered. I think my decision to use utee was due to my being misled by a bug in older curl where -N did not work as advertised (but --no-buffer did).
2013-01-17t/GNUmakefile: cleanup test dependencies
The missing random_blob dependency was causing the following to fail on a fresh clone: make -C t ThreadPool.t0005-large-file-response.sh
2012-12-05test_isolate: bump eventmachine and sinatra deps
Always ensuring we work with the latest versions.
2012-07-01test_isolate: bump raindrops dependency
As usual, test with the latest released version to avoid surprises.
2012-05-09test_isolate: update deps for EM tests
async_sinatra and rack-fiber_pool had new versions since we last updated.
2012-05-09test_isolate: bump unicorn and kgio versions for testing
Users will pull the latest upstream, ensure things keep working.
2012-05-08tests: require sleepy_penguin 3.1.0 or later
We'll be making the XEpollThreadPool users depend on this, too.
2012-02-23t/test_isolate: update test dependencies
At least for the gems I'm most familiar with...
2011-10-12t0501: fix ambiguous shell construct for capture + subshells
Starting with "$((" can be ambiguous and confused for shell arithmetic.
2011-08-20bump unicorn dependency version
We want the stricter parser the error log filtering in unicorn 4.1.0
2011-08-19cramp: update test dependency to version to 0.15
Everything appears to be working...
2011-08-19t/test_isolate: bump kgio test version
We always try to test with the latest and greatest.
2011-08-12test_isolate: bump cool.io test version
Everything appears to work as expected under cool.io 1.1.0
2011-08-05bump Cramp test dependency to 0.14
2011-08-05cramp: bump test version to 0.13
cramp was just released a few days ago and all the tested pieces seem to work...
2011-06-28t0044: do not assume setsockopt() finished
Race conditions abound in the world of concurrency!
2011-06-27bump dependencies (kgio, unicorn, raindrops)
We now rely on Unicorn 4.0.0. We'll use the latest kgio and raindrops versions anyways.
2011-06-22t0050: improve diagnostics for this test
This test seems to fail sometimes with Epoll and XEpoll...
2011-06-22t/test_isolate: remove unneeded comment
That's been around forever, and we think Rubinius supports that...
2011-06-22t/test_isolate: drop Unicorn test dependency for now
It's already a runtime dependency
2011-06-11configurator: add client_max_header_size directive
Lowering this will lower worst-case memory usage and mitigate some denial-of-service attacks. This should be larger than client_header_buffer_size. The default value is carried over from Mongrel and Unicorn.