couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woh...@apache.org
Subject [couchdb] branch upload-failed-logfiles updated: make EUnit fail intentionally to trigger after_failure script
Date Wed, 10 May 2017 23:41:32 GMT
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 <joant@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" <commits@couchdb.apache.org>'].

Mime
View raw message