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


##########
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]}")

Review Comment:
   Option 4 seems like the simplest approach, although maybe consider a name 
change since it wouldn't be "recreating" the db if it has a different name. 
Maybe just `create_random` or something like that?



-- 
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: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to