#37002: Off-by-one error in parallel test worker index validation
-------------------------------------+-------------------------------------
Reporter: Shashank Kushwaha | Owner: (none)
Type: Bug | Status: closed
Component: Testing framework | Version: 6.0
Severity: Normal | Resolution: fixed
Keywords: parallel testing, | Triage Stage:
off-by-one, worker-id | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Shashank Kushwaha):
* resolution: => fixed
* status: new => closed
Comment:
It looks like this issue has been addressed in PR #20971 by adding
validation for `_worker_id >= len(db_aliases)` before usage.
I’m marking this as fixed. Happy to close if no further action is needed.
--
Ticket URL: <https://code.djangoproject.com/ticket/37002#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019d20d20128-dc15666e-17cf-493d-b853-d8b5047eb584-000000%40eu-central-1.amazonses.com.