You can see that by searching for a GIS test function name in the CI
output of a GIS-enabled suite. I'd suggest preventing those unneeded
duplicate tests.
--
Ticket URL: <https://code.djangoproject.com/ticket/23707>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
Comment:
That explains why Jenkins reports 2 failures for each GIS test sometimes.
--
Ticket URL: <https://code.djangoproject.com/ticket/23707#comment:1>
* stage: Accepted => Unreviewed
Comment:
Since the discovery test runner recurses into subdirectories anyway, the
most straightforward fix here should be to remove the "inner" nested
directory from the list of test labels uses by `runtests.py`. I'd need to
dig into `runtests.py` a bit to see how that could be done.
--
Ticket URL: <https://code.djangoproject.com/ticket/23707#comment:2>
* stage: Unreviewed => Accepted
Comment:
Oops.
--
Ticket URL: <https://code.djangoproject.com/ticket/23707#comment:3>
* has_patch: 0 => 1
Comment:
https://github.com/django/django/pull/3415
--
Ticket URL: <https://code.djangoproject.com/ticket/23707#comment:4>
Comment (by claudep):
@carljm: Already tried your solution, but we currently need those "inner"
paths for application discovery (to set INSTALLED_APPS).
--
Ticket URL: <https://code.djangoproject.com/ticket/23707#comment:5>
Comment (by carljm):
Cool. Your fix works too. I don't think there would be any case where a
user would provide overlapping paths and _want_ some tests run twice.
--
Ticket URL: <https://code.djangoproject.com/ticket/23707#comment:6>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/23707#comment:7>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"2c9a03d4874d8938f18e99772a3d0962f9b16681"]:
{{{
#!CommitTicketReference repository=""
revision="2c9a03d4874d8938f18e99772a3d0962f9b16681"
Fixed #23707 -- Prevented discovery of duplicated tests
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23707#comment:8>