test: stabilize mysql full-suite validation

This commit is contained in:
QiuSW
2026-07-02 17:29:26 +08:00
parent 4e8c1b45a4
commit e34b4c65f8
8 changed files with 44 additions and 10 deletions
+1
View File
@@ -461,6 +461,7 @@ class BillingServiceTests(TestCase):
class ConcurrentDebitTests(TransactionTestCase):
def setUp(self):
self.addCleanup(connections.close_all)
suffix = uuid.uuid4().hex[:8]
self.user = get_user_model().objects.create_user(
username=f"concurrent-client-{suffix}",