summary refs log tree commit homepage
path: root/t
AgeCommit message (Collapse)AuthorFilesLines
2019-01-02t/test_isolate: various version updatesEric Wong1-5/+5
2019-01-02t/ avoid shadow warningEric Wong1-1/+1
2019-01-02quiet mismatched indentation warningsEric Wong3-4/+4
Ruby trunk started warning about more mismatched indentations starting around r62836.
2017-04-02tests: update isolate deps for unicorn and raindropsEric Wong1-2/+2
Newer versions were just released, so we should test with them to prevent mishaps like <> from surfacing :x
2017-01-09eventmachine: wait for deferred actions to finish em-deferredEric Wong2-4/+22
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 <> on the mailing list for bringing this up:
2017-01-09tests: re-enable EventMachine tests, againEric Wong1-1/+1
Based on activity in <git://>, EventMachine seems to be maintained, again, so resume testing our integration tests.
2016-12-24Revert "t/ remove test"Eric Wong2-1/+122
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: We can drop kgio when we drop Ruby <= 2.2 support in a few years.
2016-11-17support rack 2.xEric Wong2-7/+10
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:
2016-11-17tests: use correct file:// URL for random_blob pathEric Wong1-8/+9
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 reliabilityEric Wong1-2/+10
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 clockEric Wong1-1/+1
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 versionsEric Wong1-8/+8
2015-09-14t/ remove testEric Wong1-121/+0
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/ ensure close is idempotentEric Wong1-0/+1
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 parensEric Wong1-1/+1
Apparently GNU make parses that strangely and mangles it for the shell...
2014-10-08update dependencies for Ruby 2.2.0devEric Wong2-16/+21
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 deathEric Wong1-4/+3
We're migrating to a new public-inbox[1] + mailing list [1]
2014-01-29update EventMachine testsEric Wong2-9/+4
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 nowEric Wong2-2/+2
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 bumpsEric Wong1-6/+6
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.Lin Jen-Shin1-1/+1
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 <>
2013-04-24test_isolate: update raindrops to 0.11.0Eric Wong1-1/+1
raindrops 0.11.0 was released several days ago and contains minor improvements + fixes.
2013-02-26tests: update checks for Ruby 2.0.0Eric Wong1-3/+10
EventMachine/NeverBlock currently do not build on Ruby 2.0.0
2013-02-26bump unicorn dependency to 4.6.2+ for Ruby 2.0.0Eric Wong1-1/+1
This ensures we're compatible with the latest stable Ruby version.
2013-02-11hijacking support for Rack 1.5.x usersEric Wong3-2/+85
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 *BSDsEric Wong21-59/+64
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 IsolateEric Wong1-3/+4
Most of these test dependencies may be safely bumped.
2013-02-01tests: "wc -c" portability for *BSDsEric Wong7-10/+15
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 equivalentEric Wong17-44/+49
"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) insteadEric Wong4-21/+9
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 dependenciesEric Wong1-3/+1
The missing random_blob dependency was causing the following to fail on a fresh clone: make -C t
2012-12-05test_isolate: bump eventmachine and sinatra depsEric Wong1-2/+2
Always ensuring we work with the latest versions.
2012-07-01test_isolate: bump raindrops dependencyEric Wong1-1/+1
As usual, test with the latest released version to avoid surprises.
2012-05-09test_isolate: update deps for EM testsEric Wong1-3/+3
async_sinatra and rack-fiber_pool had new versions since we last updated.
2012-05-09test_isolate: bump unicorn and kgio versions for testingEric Wong1-2/+2
Users will pull the latest upstream, ensure things keep working.
2012-05-08tests: require sleepy_penguin 3.1.0 or laterEric Wong1-1/+1
We'll be making the XEpollThreadPool users depend on this, too.
2012-02-23t/test_isolate: update test dependenciesEric Wong1-3/+3
At least for the gems I'm most familiar with...
2011-10-12t0501: fix ambiguous shell construct for capture + subshellsEric Wong1-1/+1
Starting with "$((" can be ambiguous and confused for shell arithmetic.
2011-08-20bump unicorn dependency versionEric Wong1-1/+1
We want the stricter parser the error log filtering in unicorn 4.1.0
2011-08-19cramp: update test dependency to version to 0.15Eric Wong1-1/+1
Everything appears to be working...
2011-08-19t/test_isolate: bump kgio test versionEric Wong1-1/+1
We always try to test with the latest and greatest.
2011-08-12test_isolate: bump test versionEric Wong1-1/+1
Everything appears to work as expected under 1.1.0
2011-08-05bump Cramp test dependency to 0.14Eric Wong1-1/+1
2011-08-05cramp: bump test version to 0.13Eric Wong1-1/+1
cramp was just released a few days ago and all the tested pieces seem to work...
2011-06-28t0044: do not assume setsockopt() finishedEric Wong1-2/+2
Race conditions abound in the world of concurrency!
2011-06-27bump dependencies (kgio, unicorn, raindrops)Eric Wong1-2/+3
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 testEric Wong1-1/+3
This test seems to fail sometimes with Epoll and XEpoll...
2011-06-22t/test_isolate: remove unneeded commentEric Wong1-1/+1
That's been around forever, and we think Rubinius supports that...
2011-06-22t/test_isolate: drop Unicorn test dependency for nowEric Wong1-1/+0
It's already a runtime dependency
2011-06-11configurator: add client_max_header_size directiveEric Wong1-0/+90
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.