about summary refs log tree commit homepage
path: root/test
DateCommit message (Collapse)
2009-01-31No more special params hash.
2009-01-31Remove CGIWrapper.
2009-01-31Mongrel.run(app, opts)
2009-01-31Let the kernel schedule some shit.
2009-01-31Cleanup.
2009-01-31Started in test_server
2009-01-31Fixed test threading?
2009-01-31removed test_stats
2009-01-31Dead code.
2009-01-31Rename.
2009-01-31Removed bad requires
2009-01-31Merge pivotal code.
Breaks world. Added option to throttle number of concurrent threads processing requests. Conflicts: bin/mongrel_rails lib/mongrel.rb lib/mongrel/configurator.rb lib/mongrel/rails.rb test/unit/test_ws.rb
2009-01-31Removed test_command
2009-01-31Got rake working took out trash
2009-01-31Merge branch 'rack'
2008-12-04Removed uri_classifier, now we just use racks
2008-12-01Removed request_progress, make it a middlewear or something
2008-12-01Got rid of send_file test, moved to rack
2008-12-01Got rid of handlers and test_conditional, now people just use rack
2008-12-01Removed configurator, replaced by Racks UrlMap
2008-12-01Got tests working with rack
2008-11-22Remove debug.
2008-11-22Non working rack implementation
2008-11-22Added testing for rack support
2008-07-15http_parser: restore r996 (accept '"', '<', and '>' characters in URLs)
This seems to have gotten accidentally dropped during a merge: r1020 Some broken web browsers don't properly escape ", <, and > characters in URLs, however these URLs to occasionally legitimate and sometimes show up. This patch was submitted by Eden Li here: http://rubyforge.org/pipermail/mongrel-users/2006-October/001845.html This patch was accepted by Zed Shaw here: http://rubyforge.org/pipermail/mongrel-users/2006-October/001847.html git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@1031 19e92222-5c0b-0410-8929-a290d50e31e9
2008-07-15Remove nasty_pound_header test since we've always failed it
ref: http://thread.gmane.org/gmane.comp.lang.ruby.mongrel.devel/37/focus=45 We got 'pen' mixed up with 'pound' in that thread but the gist of it is still relevant: these nasty headers are irrelevant. 'pound' is the only thing that's known to send these nasty headers and I (Eric Wong) don't consider pound relevant at all. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@1030 19e92222-5c0b-0410-8929-a290d50e31e9
2008-03-31Remove fixed port numbers used in tests, make tests more friendly to
CI tools. Use of #process_based_port as port number. Exclude DirHandler(nil) with absolute paths on Windows. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-2@999 19e92222-5c0b-0410-8929-a290d50e31e9
2008-03-24Backport Eric's changes to the http parser from trunk (Eric Wong).
Apply fix for Ragel 6 (Eric Wong, Ry Dahl). Two tests fail with the new parser (1 failed with the old parser). Needs investigation. Close #12 (mongrel_rails send_signal leaves a filehandle open until gc). Close #14 (mongrel_rails command line option --num-procs does not change the max number of procs). Close #15 (mongrel squashes helpful exception in register method). Close #16, XXX needs audit! (CGIWrapper "options" attr_reader has no corresponding @options variable). Close #20 (Mongrel doesn't erase temporary files during it's operation on windows). Close #19, XXX needs audit! (HttpResponse#reset does not properly reset HeaderOut). Close #22 (gem_plugin should load gems from Gem.path not Gem.dir). Close #23 (mongrel_cluster's mongrel_rails configuration option isn't fully respected). If I had git, being offline wouldn't have resulted in one massive commit. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-2@995 19e92222-5c0b-0410-8929-a290d50e31e9
2008-03-01Use correct requirement for test helper in test/unit/test_ws.rb (Eric Wong).
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-2@986 19e92222-5c0b-0410-8929-a290d50e31e9
2008-02-23Add IOError to test exception list because JRuby trunk started throwing it ↵
instead of one of the old ones. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-2@981 19e92222-5c0b-0410-8929-a290d50e31e9
2008-02-20Move tools/trickletest into test/tools.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-1@974 19e92222-5c0b-0410-8929-a290d50e31e9
2008-02-20Move tests from tests/ into tests/unit/ so they parallel tests/benchmark. ↵
They are mainly unit tests anyway; we can clean them up more moving forward. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-1@973 19e92222-5c0b-0410-8929-a290d50e31e9
2008-02-20Add concurrency benchmarks, mostly copied from Thin's.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-1@971 19e92222-5c0b-0410-8929-a290d50e31e9
2008-02-20Failing test for pass traversal issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-1@963 19e92222-5c0b-0410-8929-a290d50e31e9
2007-11-01manifest; jruby test removed
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@864 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-27yet another possible exception class for test_header_is_too_long
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@794 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-27let's say that a minor thread contention issue in the test suite is not a ↵
failure on jruby. on MRI i can determine the scheduling via sleep but jruby does what it wants. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@785 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-26move socket close into ensure
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@784 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-26revert trunk to 1.1
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@744 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-26reverts for 1.0.2
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@741 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-26thank god for those tests
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@740 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-26close #14941
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@738 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-22classifier faster yet because we don't need to rebuild that string
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@736 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-22classifier optimization for only one handler on "/", with unit test
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@735 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-22update manifest
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@731 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-22do_test needs to be threadsafe
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@727 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-22ruby uriclassifier in place. 3x slower on MRI vs TST; 1.5x slower on JRuby ↵
vs same. surprisingly, for any realistic number of URIs the slowdown is basically linear git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@726 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-22fix benchmark method in uriclassifier test
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@725 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-22incomplete benchmark method
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@724 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-22pure ruby URIClassifier passes on C and JRuby both; now time to profile and ↵
see if it's worth keeping git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@722 19e92222-5c0b-0410-8929-a290d50e31e9