| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| | |
COUCHDB-3417
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| | |
| | | |
Export test_request:request/5 function
|
|/ /
| |
| |
| |
| |
| | |
Currently it is impossible to pass authentication options to
test_request:request. This commit exports request/5 which accept options
argument.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Send a better error when opening a db without authorisation
|
| | |
| | |
| | |
| | | |
COUCHDB-3426
|
|/ /
| |
| |
| | |
This option is no longer available.
|
| | |
|
|\ \
| | |
| | | |
Make sure we cache admin pass prior to test run
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
That was the intent all along, just forgot to enable before the merge.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| | |
This allows us to make some better assertions/logging when starting our
application list on what should and should not already be started.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Whait db close a little bit before failing test
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Filter out non replicator tasks in test case
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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().
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Ignore .eunit and .rebar for all deps
|
|/
|
|
|
|
|
| |
This update makes git to ignore .eunit
and .rebar subdirs for all dependencies
instead of specifying them in .gitignore
file individually.
|
|
|
|
|
|
|
| |
This adds a test to ensure that the changes_listener process exits when
the mem3_shards process is shut down.
COUCHDB-3398
|
|
|
|
| |
Simplify getting changes listener pid for testing
|
|
|
| |
The $allMatch selector returns false for a document with an empty list
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|