jaydoane commented on code in PR #5341:
URL: https://github.com/apache/couchdb/pull/5341#discussion_r1854742220


##########
src/mango/test/16-index-selectors-test.py:
##########
@@ -189,6 +189,7 @@ def 
test_uses_partial_index_with_non_indexable_selector(self):
 @unittest.skipUnless(mango.has_text_service(), "requires text service")
 class IndexSelectorText(mango.DbPerClass):
     def setUp(self):
+        self.db = 
mango.Database(f"{mango.random_db_name()}_{str(self).split()[0]}")
         self.db.recreate()

Review Comment:
   There was [recent 
work](https://github.com/apache/couchdb/commit/eb6a74d5603d4bac1d77fc895946ffbdd99f4b97)
 done on the `recreate` function, but it didn't seem to address the raciness of 
reusing db names.



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