Opened 4 years ago

Closed 4 years ago

#31998 closed Cleanup/optimization (duplicate)

Doc'd that TEST['MIRROR'] requires TransactionTestCase.

Reported by: WillRemesh Owned by: nobody
Component: Documentation Version: 3.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://code.djangoproject.com/ticket/23718 this thread makes it seem like only TransactionTestCase respects the TEST MIRROR setting. This is nowhere in the documentation. 23718 has been open for quite some time, 6 years, and it seems resolving this issue and making it work with TestCase is at an impass. The docs should be updated to clearly state that only TransactionTestCase respects this setting. Specifically https://docs.djangoproject.com/en/3.1/ref/settings/#std:setting-TEST_MIRROR and https://docs.djangoproject.com/en/3.1/topics/testing/advanced/#topics-testing-primaryreplica should be updated.

Change History (1)

comment:1 by Mariusz Felisiak, 4 years ago

Component: UncategorizedDocumentation
Resolution: duplicate
Status: newclosed
Summary: Update documentation to specify TransactionTestCase needed for TEST['MIRROR'] setting to work.Doc'd that TEST['MIRROR'] requires TransactionTestCase.
Type: UncategorizedCleanup/optimization

Docs clarifications can be made as a part of #23718, it doesn't require a separate ticket.

Duplicate of #23718.

Note: See TracTickets for help on using tickets.
Back to Top