Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_user_groups: Add `durable=True` to the independent transaction.
Prakhar Pratyushfdcd518e26d8
diff --git a/zerver/transaction_tests/test_user_groups.py b/zerver/transaction_tests/test_user_groups.pyindex 1cdeff32ec1..a6167b0c854 100644--- a/zerver/transaction_tests/test_user_groups.py+++ b/zerver/transaction_tests/test_user_groups.py@@ -70,7 +70,7 @@ class UserGroupRaceConditionTestCase(ZulipTransactionTestCase):@overridedef tearDown(self) -> None:# Clean up the user groups created to minimize leakage- with transaction.atomic():+ with transaction.atomic(durable=True):for group in self.created_user_groups:# can_manage_group can be deleted as long as it's the# default group_creator. If we start using non-default