summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2017-06-03 20:03:19 +0200
committerJan Lehnardt <jan@apache.org>2017-06-03 20:08:41 +0200
commitac8bdefb8fa7c29a92afd2a8d98cfe3dccbbb887 (patch)
treec4720ef9e7604820a7a447226e8d6840e6240c5b
parentfc0aef07b85c53caf64c2c5f62a4e2e2e1cb54f2 (diff)
downloadcouchdb-ac8bdefb8fa7c29a92afd2a8d98cfe3dccbbb887.tar.gz
chore: more test debugging for COUCHDB-3415
-rw-r--r--src/chttpd/test/chttpd_db_test.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chttpd/test/chttpd_db_test.erl b/src/chttpd/test/chttpd_db_test.erl
index e2bc05654..c6c1cec15 100644
--- a/src/chttpd/test/chttpd_db_test.erl
+++ b/src/chttpd/test/chttpd_db_test.erl
@@ -105,7 +105,9 @@ should_accept_live_as_an_alias_for_continuous(Url) ->
{ok, _, _, _} = create_doc(Url, "testdoc2"),
{ok, _, _, ResultBody2} =
test_request:get(Url ++ "/_changes?feed=live&timeout=1", [?AUTH]),
+ io:format(user, "~nDEBUG COUCHDB-3415: ResultBody2: ~p~n", [ResultBody2]),
[_, CleanedResult] = binary:split(ResultBody2, <<"\n">>),
+ io:format(user, "~nDEBUG COUCHDB-3415: CleanedResult: ~p~n", [CleanedResult]),
{[{_, Seq}, _]} = ?JSON_DECODE(CleanedResult),
<<SeqNum0:1/binary, "-", _/binary>> = Seq,
SeqNum = list_to_integer(binary_to_list(SeqNum0)),