From 26f87181f8a8fc7fef58ddd1e52cb5f0edd641bb Mon Sep 17 00:00:00 2001 From: drebs Date: Thu, 7 Jul 2016 11:44:01 +0200 Subject: [test] toxify tests - move tests to root directory - split tests in different subdirectories - setup a small package with common test dependencies in /testing/test_soledad - add tox.ini that will: - install the test_soledad package and other test dependencies - install soledad common, client, server from the repository - run tests contianed in /testing/tests directory using pytest This commit also removes all oauth code from tests, as we have removed the u1db dependency (by importing it into the repo and naming it l2db) and don't neet oauth at all right now. --- testing/tests/couch/couchdb.ini.template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 testing/tests/couch/couchdb.ini.template (limited to 'testing/tests/couch/couchdb.ini.template') diff --git a/testing/tests/couch/couchdb.ini.template b/testing/tests/couch/couchdb.ini.template new file mode 100644 index 00000000..174d9d86 --- /dev/null +++ b/testing/tests/couch/couchdb.ini.template @@ -0,0 +1,22 @@ +; etc/couchdb/default.ini.tpl. Generated from default.ini.tpl.in by configure. + +; Upgrading CouchDB will overwrite this file. + +[couchdb] +database_dir = %(tempdir)s/lib +view_index_dir = %(tempdir)s/lib +max_document_size = 4294967296 ; 4 GB +os_process_timeout = 120000 ; 120 seconds. for view and external servers. +max_dbs_open = 100 +delayed_commits = true ; set this to false to ensure an fsync before 201 Created is returned +uri_file = %(tempdir)s/lib/couch.uri +file_compression = snappy + +[log] +file = %(tempdir)s/log/couch.log +level = info +include_sasl = true + +[httpd] +port = 0 +bind_address = 127.0.0.1 -- cgit v1.2.3