GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-couch/pull/35
2547 fix broken tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/iilyak/couchdb-couch 2547-fix-broken-tests
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch/pull/35.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #35
----
commit b510c2187c126681b81ff4d5fff33d3f2d33f5a0
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T15:23:23Z
Return context from test_util:start_couch
We are going to return some context from start_couch so we pass it
around
COUCHDB-2547
commit 9af979fea817d27c53dc7200469889b27ab7cf7d
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T16:26:00Z
Return started from test_util:start_applications
COUCHDB-2547
commit 4529e1288a9d72637b0bcf19fe84cb39b646d37c
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T16:28:17Z
Remove test_util:request
Use test_request:request instead
COUCHDB-2547
commit cacca040a28668e69829c21f3e2279a2f00c1f04
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T16:32:39Z
Implement test_util:stop_sync
COUCHDB-2547
commit f66255f83975128c6fdf33e043e2418772165c36
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T16:46:27Z
Use test_util:stop_sync in test_util:stop_config
COUCHDB-2547
commit fa159b1d484a43044bd3205f419a2f18a13ad875
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T16:47:23Z
Implement test_util:stop_sync_throw
COUCHDB-2547
commit cd6aed00d5ec09e98de703e8586571d3b05fbed5
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T18:17:56Z
Use test_util:stop_sync_throw in test suite
COUCHDB-2547
commit bc1963fa0337843aa45832f76a9c5dafdbd4d05c
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T18:19:36Z
Use shutdown reason instead of normal for exit/2
COUCHDB-2547
commit a60b88ff9d5b58597bf0a21382d51bda5d0ade5d
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T18:24:33Z
Implement with_process_restart and wait_process
Implement additional helper functions for test suite to follow DRY.
COUCHDB-2547
commit 93d48aa8f640252b92c0eef0975893833a734bd0
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T18:33:38Z
Use test_util:with_process_restart in test suite
COUCHDB-2547
commit f568893721deeb94956ec1e75a24e5cf1b4fe358
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T18:40:51Z
Use test_util:stop_config in test suite
COUCHDB-2547
commit b5d8e09e725e4480e0ccd073eec7a7161d4adcc6
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T18:51:29Z
Replace s/ejson:/jiffy:/g
COUCHDB-2547
commit 74f539a3cfd6f35f40aedc84b701ec5caaf3d749
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-10T18:45:42Z
Implement test_util:stop_applications/1
COUCHDB-2547
commit 9e76a39369fcd1405d7f4b3b0da025a08cb5b2e0
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T21:38:40Z
Add test_util:start/stop for minimal setup
The idea is to use test_util:start to setup minimal environment which
starts or mocks necessary dependencies. test_util:start returns
`#test_context{}` to be passed to test_util:stop/1.
COUCHDB-2547
commit 72c313daea250998d577821e36f6f003761d00a1
Author: ILYA Khlopotov <[email protected]>
Date: 2015-01-27T21:43:01Z
Use test_util:start in couch_file_tests
COUCHDB-2547
commit a78267ba9f844197159491e844921c5a1c23b15e
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-02T14:50:20Z
Return #test_context{} from test_util:start_couch
COUCHDB-2547
commit 061c5304f4aac97a56faf89d1dd21d003dea3572
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-02T14:57:44Z
Use test_util:start in test suite
Use test_util:start in setup fixture of tests.
We also add ioq to list of dependencies for some tests.
COUCHDB-2547
commit 7d4986008bd7c7e81cb91c33ed5a41f7eb98d21b
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-02T15:00:30Z
Remove obsolete modules_loaded_tests
COUCHDB-2547
commit 70049c443098d2f747c6fd5b218092f4eda9a65e
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-02T19:48:39Z
Handle couch_auth_terminate gracefully
In the case when `authentication_db` is changed we will get DOWN message
with the Ref we already forgot. So we keep a list of monitors which we
close but didn't receive DOWN message.
COUCHDB-2547
commit 72981ec1be9d6fb5201cc7e8b87d9292219c5fb7
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-02T19:53:26Z
Enable test suite for couch_auth_cache
COUCHDB-2547
commit 533105688d199bdac372fac516ba40ff6446015a
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-02T19:58:52Z
Add test should_close_old_db_on_auth_db_change
COUCHDB-2547
commit b59b529e59c072939d2c327f86401ad2d30a5e98
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-02T20:24:59Z
Enable couch_doc_json_tests
COUCHDB-2547
commit 9985c2c9dc3635d215b3193743b1c64e9f56ae86
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-03T15:06:13Z
Enable couch_key_tree_tests
COUCHDB-2547
commit c2d3d4571b38ddb7499681d694ae5f03f69417f7
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-03T15:08:24Z
Enable couch_uuid_tests
COUCHDB-2547
commit 5e95b1a4cafd8e807467b5a1ce8947c5e79352ff
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-03T17:39:53Z
Enable couchdb_attachments_tests
COUCHDB-2547
commit 0d5acb1354c717a3b1350ca511d03e7817f48586
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-03T20:22:25Z
Add test_util:wait function
COUCHDB-2547
commit c51247d6519eff35b429ebc7a25183c0aa8801f6
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-03T20:23:36Z
Enable couchdb_file_compression_tests
COUCHDB-2547
commit 0b3e8966a41399eefc78858a714a69e45ccf722e
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-03T20:24:22Z
Define metric [couchdb, httpd_status_codes, 406]
COUCHDB-2547
commit d4d726cce4d909cee8f00985a7ddfff33627be35
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-03T21:14:20Z
Enable couchdb_compaction_daemon test suite
COUCHDB-2547
commit 9589b63bfbcba8e16d34bc900949a55ec16f0c62
Author: ILYA Khlopotov <[email protected]>
Date: 2015-02-04T16:41:21Z
Enable couchdb_os_daemons_tests
COUCHDB-2547
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---