You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/05/10 23:41:32 UTC
[couchdb] branch upload-failed-logfiles updated: make EUnit fail
intentionally to trigger after_failure script
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch upload-failed-logfiles
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/upload-failed-logfiles by this push:
new 358d415 make EUnit fail intentionally to trigger after_failure script
358d415 is described below
commit 358d415344f3ff8bcda47897b618c80148ed8c14
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Wed May 10 19:41:17 2017 -0400
make EUnit fail intentionally to trigger after_failure script
---
src/global_changes/test/global_changes_hooks_tests.erl | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/global_changes/test/global_changes_hooks_tests.erl b/src/global_changes/test/global_changes_hooks_tests.erl
index 23fa2c8..e524441 100644
--- a/src/global_changes/test/global_changes_hooks_tests.erl
+++ b/src/global_changes/test/global_changes_hooks_tests.erl
@@ -100,6 +100,7 @@ should_not_fail_for_admin(Host) ->
Headers = [{basic_auth, {"admin", "pass"}}],
{Status, [Error, Reason]} =
request(Host, Headers, [<<"error">>, <<"reason">>]),
+ ?assertEqual(200, 201),
?assertEqual(200, Status),
?assertEqual(undefined, Error),
?assertEqual(undefined, Reason)
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].