iilyak commented on code in PR #5692:
URL: https://github.com/apache/couchdb/pull/5692#discussion_r2414632598
##########
test/elixir/test/partition_search_test.exs:
##########
@@ -22,7 +22,9 @@ defmodule PartitionSearchTest do
end
resp = Couch.post("/#{db_name}/_bulk_docs", headers: ["Content-Type":
"application/json"], body: %{:docs => docs}, query: %{w: 3})
- assert resp.status_code in [201, 202]
+ assert resp.status_code in [201, 202],
+ "Cannot create search docs. " <>
+ "Expected one of [201, 202], got: #{resp.status_code}, body: #{inspect
resp.body}"
Review Comment:
Unfortunately asserts do not print the stacktrace so we wouldn't be pointed
to the exact line where the failure happen.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]