summaryrefslogtreecommitdiff
path: root/test/etap
AgeCommit message (Collapse)Author
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
2009-09-11Refactoring of endkey code in views and btrees. End key functionaility is ↵Damien F. Katz
now handled inside the btree code, simplfying calling code and making it trivial to add new collation options git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814078 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09choice of uuid algos for better insert perf. Closes COUCHDB-465. Thanks ↵Adam Kocoloski
rnewson, bitdiddle git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@813051 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02fix make check, patch by Bob Dionne, closes COUCHDB-493Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@810485 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28fix pattern matching bug in redirects for replicationAdam Kocoloski
if opening the DB returns 301, use the new URL for the rest of the replication git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@808876 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25update etap; missing_revs output now includes DB update_seqAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807468 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19make httpc test work in R12B (no macros allowed)Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805649 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16Set executable bit on etap tests.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@804739 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10remove leftover line from testAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@802636 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09oops, whitespaceAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@802549 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09next piece of new replicator -- missing_revs bufferAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@802548 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08update rep_changes_feed to use feed=continuous and rep_httpcAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@802416 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07ibrowse wrapper for replicator, will replace do_http_requestAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@802145 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24reassemble split chunks in changes feed, add all() exportAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797553 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23etap tests should be executableAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797093 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Fixes etap tests for recent updates.Paul Joseph Davis
Thanks Bob Dionne git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797053 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17update etap tests for new attachment format.Adam Kocoloski
031 #11 still fails because length is undefined in CouchDB's response. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795258 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16second cut at _changes feed consumer. still not used by replicatorAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794851 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16first cut at _changes feed consumer. not yet used by replicationAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794848 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14added licence check, and licence.skipNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794030 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06trimmed trailing whitespaceNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25Cleaning out tabs from source code. Purely whitespace diff.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@788258 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25Adding tests for couch_ref_counter.erlPaul Joseph Davis
Thanks Bob Dionne git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@788253 13f79535-47bb-0310-9956-ffa450edef68