kxepal commented on a change in pull request #995: WIP: improve Mango test 
suite performance
URL: https://github.com/apache/couchdb/pull/995#discussion_r151095112
 
 

 ##########
 File path: src/mango/test/mango.py
 ##########
 @@ -126,11 +124,14 @@ def create_index(self, fields, idx_type="json", 
name=None, ddoc=None,
             body["index"]["partial_filter_selector"] = partial_filter_selector
         body = json.dumps(body)
         r = self.sess.post(self.path("_index"), data=body)
-        delay()
         r.raise_for_status()
         assert r.json()["id"] is not None
         assert r.json()["name"] is not None
-        return r.json()["result"] == "created"
+
+        created = r.json()["result"] == "created"
+        if not created:
+            print r.json()["result"]
 
 Review comment:
   print

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to