Permalink
Commits on May 29, 2017
Commits on May 26, 2017
  1. Merge pull request #542 from apache/3426-forbidden-error

    Send a better error when opening a db without authorisation
    rnewson committed on GitHub May 26, 2017
  2. Remove "--prefix" option from README-DEV

    This option is no longer available.
    alxndrsn committed with wohali May 26, 2017
  3. Send a better error when opening a db without authorisation

    COUCHDB-3426
    rnewson committed May 26, 2017
Commits on May 25, 2017
  1. typo in couchup

    wohali committed May 25, 2017
  2. Merge pull request #540 from cloudant/hash-admin-password-in-tests

    Make sure we cache admin pass prior to test run
    iilyak committed on GitHub May 25, 2017
  3. 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.
    ILYA Khlopotov committed May 25, 2017
Commits on May 24, 2017
Commits on May 22, 2017
  1. Expose replicator scheduler feature in the API

    That was the intent all along, just forgot to enable before the merge.
    nickva committed with nickva May 22, 2017
  2. Skip internal replication if changes already replicated

    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.
    nickva committed with nickva May 22, 2017
  3. Use a custom version of rebar

    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.
    davisp committed May 22, 2017
  4. Set new config version

    davisp committed May 22, 2017
  5. Pre-calculate application start order

    This allows us to make some better assertions/logging when starting our
    application list on what should and should not already be started.
    davisp committed May 16, 2017
Commits on May 20, 2017
  1. Fix merge of 27f5067 and aca6a45

    janl committed May 20, 2017
  2. better test as per @nickva

    janl committed May 20, 2017
Commits on May 19, 2017
  1. Merge pull request #533 from cloudant/wait_db_close_in_test

    Whait db close a little bit before failing test
    iilyak committed on GitHub May 19, 2017
  2. 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.
    ILYA Khlopotov committed May 19, 2017
  3. Merge pull request #532 from cloudant/filter_out_non_replicator_tasks

    Filter out non replicator tasks in test case
    iilyak committed on GitHub May 19, 2017
  4. Revert couch_lru to use gb_trees

    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
    nickva committed with nickva May 17, 2017
  5. 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().
    ILYA Khlopotov committed May 19, 2017
Commits on May 18, 2017
Commits on May 16, 2017
Commits on May 15, 2017
  1. Add auto log uploader for CI workflow

    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.
    wohali committed with wohali May 10, 2017
Commits on May 14, 2017
Commits on May 12, 2017
  1. Merge pull request #516 from cloudant/global-ignore-eunit-subdir

    Ignore .eunit and .rebar for all deps
    eiri committed on GitHub May 12, 2017