summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow ddoc_cache to be fully disabled559-disable-ddoc-cacheJoan Touzet2017-06-021-3/+3
|
* couchup rebuild timeout must be passed as a floatJoan Touzet2017-06-011-1/+1
|
* Merge branch '3417-add-compaction-logging'Tony Sun2017-05-312-4/+16
|\ | | | | | | COUCHDB-3417
| * add compaction logging3417-add-compaction-loggingTony Sun2017-05-302-4/+16
| | | | | | | | | | | | | | | | To predict future compaction results, we log pre-compaction and post-compaction file sizes. These log results will be used as data points for regression analysis. COUCHDB-3417
* | attempt to stabilise users_db_security.jsJoan Touzet2017-05-311-0/+1
| |
* | Merge pull request #550 from cloudant/export-test_request_5iilyak2017-05-301-1/+1
|\ \ | | | | | | Export test_request:request/5 function
| * | Export test_request:request/5 functionILYA Khlopotov2017-05-301-1/+1
|/ / | | | | | | | | | | Currently it is impossible to pass authentication options to test_request:request. This commit exports request/5 which accept options argument.
* | Fix rewrite_js test: do not delete/create a DB in rapid successionJoan Touzet2017-05-301-1/+1
| |
* | New Jenkinsfile for multibranch pipeline buildJoan Touzet2017-05-282-3/+308
| |
* | Merge pull request #542 from apache/3426-forbidden-errorRobert Newson2017-05-261-0/+4
|\ \ | | | | | | Send a better error when opening a db without authorisation
| * | Send a better error when opening a db without authorisation3426-forbidden-errorRobert Newson2017-05-261-0/+4
| | | | | | | | | | | | COUCHDB-3426
* | | Remove "--prefix" option from README-DEVAlex Anderson2017-05-261-4/+0
|/ / | | | | | | This option is no longer available.
* | typo in couchupJoan Touzet2017-05-251-1/+1
| |
* | Merge pull request #540 from cloudant/hash-admin-password-in-testsiilyak2017-05-2510-11/+22
|\ \ | | | | | | Make sure we cache admin pass prior to test run
| * | Make sure we cache admin pass prior to test runILYA Khlopotov2017-05-2510-11/+22
|/ / | | | | | | | | | | | | | | couch_server is responsible for calling hash_admin_passwords whenever "admin" section of config changes. However as you can see it from [here](https://github.com/apache/couchdb/blob/master/src/couch/src/couch_server.erl#L219) the call is asynchronous. This means that our test cases might fail when we try to using admin user while admin password is not yet hashed.
* | Fix configure when whoami errors outJoan Touzet2017-05-241-1/+1
| |
* | Expose replicator scheduler feature in the APINick Vatamaniuc2017-05-221-0/+1
| | | | | | | | That was the intent all along, just forgot to enable before the merge.
* | Skip internal replication if changes already replicatedNick Vatamaniuc2017-05-221-4/+10
| | | | | | | | | | | | | | | | If minimum checkpointed sequence is greater or equal to source db sequence, do not start an internal replication task. The typical case is when checkpoint sequence is equal to the db sequence. Previously replication task was started always wrote a checkpoint document even if no database changes. This resulted in a flurry of writes during cluster startup.
* | Use a custom version of rebarPaul J. Davis2017-05-221-1/+1
| | | | | | | | | | | | | | This version of rebar has an extra commit on 2.6.0 to properly skip applications that make use of the .app.src.script construct. The benefit to us is that couch_epi tests will not run when specifying an apps=$appname variable to eunit.
* | Set new config versionPaul J. Davis2017-05-221-1/+1
| |
* | Pre-calculate application start orderPaul J. Davis2017-05-221-7/+53
| | | | | | | | | | This allows us to make some better assertions/logging when starting our application list on what should and should not already be started.
* | fix couch_replicator_compact_test by removing duplicate codeJan Lehnardt2017-05-201-5/+0
| |
* | Add/update contribution guidelines, issue/PR templates for GH IssuesJoan Touzet2017-05-204-15/+348
| |
* | Fix merge of 27f5067c and aca6a459Jan Lehnardt2017-05-201-1/+6
| |
* | add dedbugging for failing test COUCHDB-3343Jan Lehnardt2017-05-201-0/+1
| |
* | chore: add dedbugging for failing test COUCHDB-3343Jan Lehnardt2017-05-202-2/+11
| |
* | better test as per @nickvaJan Lehnardt2017-05-201-1/+13
| |
* | increase timeout for compaction daemon tests COUCHDB-3344Jan Lehnardt2017-05-201-1/+1
| |
* | chore: increase timeout for compaction daemon tests COUCHDB-3344Jan Lehnardt2017-05-201-1/+1
| |
* | Merge pull request #533 from cloudant/wait_db_close_in_testiilyak2017-05-191-1/+11
|\ \ | | | | | | Whait db close a little bit before failing test
| * | Whait db close a little bit before failing testILYA Khlopotov2017-05-191-1/+11
|/ / | | | | | | | | | | | | | | Databases are closed asynchronously. However it was not accounted for in the test case. This commit waits database to close before it makes a decission to abort the test. I.e. if test case detects that database is still opened after 1 second it considers it as failure.
* | Merge pull request #532 from cloudant/filter_out_non_replicator_tasksiilyak2017-05-191-2/+6
|\ \ | | | | | | Filter out non replicator tasks in test case
| * | Filter out non replicator tasks in test caseILYA Khlopotov2017-05-191-2/+6
| | | | | | | | | | | | | | | | | | | | | Previously the test relied in the assumption that there are no couch_tasks are running concurrently. This commit fixes that assumption by filtering out all non replication related tasks from the output of couch_task_status:all().
* | | Revert couch_lru to use gb_treesNick Vatamaniuc2017-05-192-144/+27
|/ / | | | | | | | | | | | | | | | | | | Recently couch_lru was changed to use ets tables. During eprof profiling it showed improved performance however recently in a larger test with more concurrent updates and 5000 max dbs open it showed a significant degradation compared to the previous (gb_tree-based) version. GH Issue #528
* | Fix link to SpiderMonkey in INSTALL.mdEric Avdey2017-05-181-1/+1
| |
* | chore: increase timeout for pausing writer COUCHDB-3384Jan Lehnardt2017-05-161-1/+1
| |
* | chore: double test timeout see COUCHDB-3408Jan Lehnardt2017-05-161-1/+1
| |
* | chore: add debugging for failing test case, see COUCHDB-3413Jan Lehnardt2017-05-161-1/+5
| |
* | chore: add debugging for failing test case, see COUCHDB-3415Jan Lehnardt2017-05-161-1/+11
| |
* | Add auto log uploader for CI workflowJoan Touzet2017-05-154-5/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is intended to improve failure analysis in Travis and Jenkins runs by uploading couch log files after failed test runs. A new script has been added that, upon invocation from the top-level directory, tars up all EUnit logfiles and the dev/logs/node1.log file. It then constructs a document based on the running environment (Travis, Jenkins, manual). The document is posted to a CouchDB instance running on couchdb-vm.apache.org with credentials passed in the COUCHAUTH environment variable. The .travis.yml file has been updated to install the script's prerequisites (python-requests) and with the secret credentials, and to instruct travis to run the log uploader after any test failure. Similar steps will be taken to reconfigure Jenkins after these changes are merged to master. The test/javascript/run harness had to be modified to terminate after the first failure. This is because each new test wipes the logfile of the previous run. All tests can still be run, regardless of failure, by specifing the -a/--all flag, however it is expected that the reduction in test suite execution time when a test fails will be appreciated by many.
* | Re-enable js eval view sandbox testRandall Leeds2017-05-151-22/+17
| |
* | docs: no need to bump rebar.config when in couchdb.gitJan Lehnardt2017-05-141-6/+4
| |
* | Merge pull request #516 from cloudant/global-ignore-eunit-subdirEric Avdey2017-05-111-17/+2
|\ \ | |/ |/| Ignore .eunit and .rebar for all deps
| * Ignore .eunit and .rebar for all depsEric Avdey2017-05-111-17/+2
|/ | | | | | | This update makes git to ignore .eunit and .rebar subdirs for all dependencies instead of specifying them in .gitignore file individually.
* Test changes_listener dies on mem3_shards shutdownJay Doane2017-05-101-0/+41
| | | | | | | This adds a test to ensure that the changes_listener process exits when the mem3_shards process is shut down. COUCHDB-3398
* Expose mem3_shards:get_changes_pid/0Jay Doane2017-05-101-0/+6
| | | | Simplify getting changes listener pid for testing
* Mango $allMatch return false for empty list (#511)garren smith2017-05-102-4/+16
| | | The $allMatch selector returns false for a document with an empty list
* Increase timeout for JS test harness restartServer fnJoan Touzet2017-05-091-1/+1
|
* Increase timeout for compression testsJoan Touzet2017-05-091-1/+1
|
* Handle non-default _replicator dbs in _scheduler/docs endpointNick Vatamaniuc2017-05-091-24/+81
| | | | | | | | | | | | | | | | | | | | | | | | Previously _scheduler/docs assumed only the default _replicator db. To provide consistency and to allow disambiguation between a db named 'db/_replicator' and the document named 'db/_replicator' in the default replicator db, access to the single document API is changed to always require the replicator db. That is `/docid` should not be `/_replicator/docid`. Now these kinds of paths are accepted after `_scheduler/docs`: * `/` : all docs from default _replicator db * `/_replicator` : all docs from default replicator db * `/other%2f_replicator` : non-default replicator db, urlencoded * `/other/_replicator` : non-default replicator db, unencoded * `/other%2f_replicator/docid` : doc from a non-default db, urlencoded * `/other/_replicator/docid` : doc from a non-default db, db is unencoded Because `_replicator` is not a valid document ID, it's possible to unambiguously parse unescaped db paths. Issue: #506