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 Carlton Gibson, 5 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Mariusz Felisiak, 5 years ago

Has patch: set
Needs documentation: set
Needs tests: set
Patch needs improvement: set

comment:3 by Ahmed Ibrahim, 17 months ago

Owner: Ahmad A. Hussein removed
Status: assignednew

(Ticket inactive for 4 years, de-assigning)

comment:4 by Siddharth Panditrao, 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

Question / Idea

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!

Version 0, edited 2 weeks ago by Siddharth Panditrao (next)

comment:5 by Siddharth Panditrao, 2 weeks ago

Owner: set to Siddharth Panditrao
Status: newassigned

comment:6 by Siddharth Panditrao, 13 days ago

comment:7 by Jacob Walls, 12 days ago

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

Unsetting flags for fresh review.

comment:8 by Jacob Walls, 8 days ago

Patch needs improvement: set

Tests are failing.

in reply to:  8 comment:9 by Siddharth Panditrao, 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.

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