Opened 5 years ago
Last modified 8 days ago
#31908 assigned New feature
Add parallel testing support to Oracle backend
| Reported by: | Ahmad A. Hussein | Owned by: | Siddharth Panditrao |
|---|---|---|---|
| Component: | Testing framework | Version: | dev |
| Severity: | Normal | Keywords: | oracle, parallel, tests |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | no |
Description
This was part of the original parallel test runner ticket that Aymeric Augustin worked on. It still remains a nice feature to have.
Change History (9)
comment:1 by , 5 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 5 years ago
| Has patch: | set |
|---|---|
| Needs documentation: | set |
| Needs tests: | set |
| Patch needs improvement: | set |
comment:3 by , 17 months ago
| Owner: | removed |
|---|---|
| Status: | assigned → new |
(Ticket inactive for 4 years, de-assigning)
comment:4 by , 2 weeks ago
Hi, I’ve been reading through the history of this ticket and the old PR to understand why it was closed.
From what I can tell, the main issues earlier were:
- Dependency on
expdp/impdp - Oracle-specific logic in the base backend
- Added complexity around cloning data
I was wondering if a simpler approach could work for Oracle:
- For parallel tests, create empty cloned test users (with suffixes like
_1,_2) - Skip exporting/importing data entirely
- Let Django handle schema creation via migrations and test data via its existing serialization logic
This seems closer to how Django already handles parallel tests and avoids external tools.
Questions
I’m still learning Django internals, so I wanted to ask:
- Is empty schema cloning considered sufficient for Oracle?
- Would this be an acceptable direction to revisit this ticket, or is there something I’m missing?
Happy to learn and adjust based on feedback. Thanks!
comment:5 by , 2 weeks ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:7 by , 12 days ago
| Needs documentation: | unset |
|---|---|
| Needs tests: | unset |
| Patch needs improvement: | unset |
Unsetting flags for fresh review.
comment:9 by , 8 days ago
Replying to Jacob Walls:
Tests are failing.
Thanks for the review. I see the Oracle CI failures in the shared test creation and test runner tests and I’m working on addressing them.
PR