summaryrefslogtreecommitdiff
path: root/test/etap
AgeCommit message (Collapse)Author
2010-08-08fix the db-info assertion to match with the new committed_update_seq fieldJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@983477 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14Merged revision 964201 from trunk:Filipe David Borba Manana
Adapt test to change introduced in revision 963725 - deleted documents can now have non-empty bodies. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@964202 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25fix test case for revpos-checking commitJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957951 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01better tests for the vhost globals, fixed a bugJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@949912 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19add -x bitJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946426 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13vhost_global_handlers bypass rewrite rules and are available in all vhostsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@943764 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04use crypto:md5 when available. thx fdmanana. Closes COUCHDB-757Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@941033 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04use keysearch BIF to search ejson props. Closes COUCHDB-747Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@940708 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15accept gzipped attachments w/ standalone api. thx fdmanana. COUCHDB-712Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@934481 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15refactor att compression to allow more encodings. thanks fdmanana. COUCHDB-710Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@934475 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02Deterministic/synchronous shutdown code.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930363 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19Avoid a possible race condition.Paul Joseph Davis
The old code was relying on a DOWN message being sent before a call to get the current ref counter. Its possible that the request was sent before that happened causing an error. The new code doesn't use messages from the child process and instead uses a monitor to know when the process went down. Then it sends up to 10,000 requests for the current count. Theoretically the only way this will fail is if the DOWN message to the ref_counter is delayed for an extremely long time or dropped entirely. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925264 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17moar bumpageJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@924527 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17Wait a little longer, this should help slower systems.Jan Lehnardt
Idaelly, this test should be changed to not require the `timer:sleep()` call at all. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@924524 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05efficient attachment replication. Patch by Filipe Manana. Closes COUCHDB-639Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919469 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05faster LRU test in 070-couch-db.tAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919447 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04reverting damien's latest commit until we can figure out why it's causing ↵John Christopher Anderson
failures git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@918834 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04Changed process tree shutdown to be synchronous, to eliminate spurious test ↵Damien F. Katz
failures caused by processes not shutdown fast enough or at the wrong time. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@918805 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01add etap test file to MakefileJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917608 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01fix issue COUCHDB-678 applying patch from Filipe Manana.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917553 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26fdmananas patch for filtered replication via COUCHDB-673John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@916518 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19add etap test for vhostsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@911937 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18capitalizationJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@911559 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18Fixes COUCHDB-640 - Reset views with invalid update seqs.Paul Joseph Davis
If a database is restored to a previous version, and the view files are not updated appropriately they will contain data from the database after the reverted-to-update_seq. This patch checks that the update sequence recorded in a view is less than or equal to the update sequence of the database. Patch is by Filipe Manana. Execellent work once again. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@911544 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29Allow storing attachments in compressed form. Closes COUCHDB-583. Thanks ↵John Christopher Anderson
Filipe Manana git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@904650 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14use the ./configure detected erlc, fixes builds where erlc is not in PATHJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@899306 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12Add utility for verifying hashes.Jason David Davies
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@898477 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16Provide Content-MD5 header support for attachments.Paul Joseph Davis
Fixes COUCHDB-558. Thanks to Filipe Manana we now have checks for attachment transfer integrity using the Content-MD5 header (or trailer). Use of this integrity check is triggered by specifying a Content-MD5 header in your request with a value that is a base64 encoded md5. For requests that are using a chunked Transfer-Encoding it is also possible to use a trailer so that the Content-MD5 doesn't need to be known before transfer. This works by specifying a header "Trailer: Content-MD5" and then in the final chunk (the one with a size of zero) you can specify a Content-MD5 with exactly the same format as in the request headers. See the ETap test 130-attachments-md5.t for explicit examples of the request messages. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@891077 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Complete refactoring of couch_js.Paul Joseph Davis
In particular, the cURL bindings have been rewritten to be more useful and easily applied in command line scripts. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884672 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Move all C code to src/couchdb/privPaul Joseph Davis
Shuffling bits around to conform to Erlang conventions. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884671 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13Fix broken etap test.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835997 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13Initial check-in of APIs for multiple/related supported and incremental ↵Damien F. Katz
replication of only changed attachments. Needs more far more testing and to be hooked up the replicator. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835981 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09Unverbosifiying after the last successful build.Paul Joseph Davis
Adding -v to the prove command made things work. How awesome is that? git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833967 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09Turn on verbose tests to diagnose buildbotPaul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833966 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09Forgot to fix make coverPaul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833956 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09Fixes 'make distcheck' to run the test suite.Paul Joseph Davis
Quite a few changes to the build system to handle VPATH builds appropriately as well as make the test suite know about them. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833951 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08Fixed a couple test suite errors.Paul Joseph Davis
001-load.t's plan changed with the batch modules being removed. 121-status-aggregates.t and 041-uuid-gen.t needed their plan counts to be updated from unkown. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833825 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03Added batching of multiple updating requests, to improve throughput with ↵Damien F. Katz
many writers. Also removed the couch_batch_save module, now batch requests are simply saved async as immediately, batching with outhr updates if possible. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832550 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24Fixed the test for couch_stats_aggregator.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829456 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29Fixed a memory usage test.Paul Joseph Davis
Noah reported that forcing garbage collection only worked when allocating more terms. This ups the test number to what worked for him. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@819977 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29Add ETap to CouchDB's SVN repository.Paul Joseph Davis
This pulls in ETap as an included dependency. As per directions of the ASF the NOTICE and LICENSE have been updated. Tests have been updated to include etap on Erlang's code path. license.skip was updated for make distcheck. This only affects running the Erlang test suite. Noah is awesome. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@819799 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27Forgot to update the plan count.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@819343 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27Fixed 040-util.t test from deadlocking.Paul Joseph Davis
When we started the linked process to kill with couch_util:terminate_linked/1, we weren't waiting for the child process to start. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@819341 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27Remove crap to test buildbot.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@819265 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27A single sub-assert deactivated for buildbot.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@819263 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27Add a test for couch_erl_driver.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@819254 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21Updated the headers for test config files.Paul Joseph Davis
Set the executable bit for the stats tests. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@817277 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17Fixes COUCHDB-396Paul Joseph Davis
Makes the stats calculated over a moving window isntead of calculated for non-overlapping timeframes. This should make trend monitoring more robust. Thanks once again to Bob Dionne for double checking this. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@816043 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15update etap tests to reflect changes in couch_btree, patch by Bob Dionne, ↵Jan Lehnardt
closes COUCHDB-503 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815266 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13allow config callbacks to get passed the X-Couch-Persist flagJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814300 13f79535-47bb-0310-9956-ffa450edef68