You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have multiple database connections to the same cluster and want to run tests over all these connections,
444
460
then only one connection should set `"managed": True`(the default value), other connections should set `"managed": False`.
445
461
So that test database will not be created multiple times.
462
+
463
+
If your managed database alias is not `s1r2`, `"DEPENDENCIES": ["s1r2"]` should be set to ensure the [creation order for test databases](https://docs.djangoproject.com/en/4.2/topics/testing/advanced/#controlling-creation-order-for-test-databases).
446
464
447
465
Do not hardcode database name when you define replicated table or distributed table.
448
466
Because test database name is different from deployed database name.
0 commit comments