iilyak opened a new pull request, #5671:
URL: https://github.com/apache/couchdb/pull/5671

   ## Overview
   
   Add `body` to error messages do error would look like
   
   ```
   ======================================================================
   ERROR: test_group_field_number_is_unsupported 
(99-test_query.TestQuery.test_group_field_number_is_unsupported)
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File "~/Code/couchdb/src/mango/test/99-test_query.py", line 163, in 
test_group_field_number_is_unsupported
       self.db.create_text_index(name="animals")
     File "~/Code/couchdb/src/mango/test/mango.py", line 261, in 
create_text_index
       raise_for_status(r)
     File "~/Code/couchdb/src/mango/test/mango.py", line 102, in 
raise_for_status
       raise SearchException(err) from None
   mango.SearchException: 503 Server Error: Service Unavailable for url: 
http://127.0.0.1:15984/mango_test_123c0654f1e84db7aed9d380062d8131/_index
   body: {"error":"required index service unavailable","reason":"text"}
   ```
   
   ## Testing recommendations
   
   1. Stop clouseau
   2. Run mango tests `make mango-tests`
   
   ## Related Issues or Pull Requests
   
   N/A
   
   ## Checklist
   
   - [ ] Code is written and works correctly
   - [x] Changes are covered by tests
   - [ ] Any new configurable parameters are documented in 
`rel/overlay/etc/default.ini`
   - [ ] Documentation changes were made in the `src/docs` folder
   - [ ] Documentation changes were backported (separated PR) to affected 
branches
   


-- 
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]

Reply via email to