--
Ticket URL: <https://code.djangoproject.com/ticket/28790>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> I will submit a PR, in which I propose to enable users to mark tests for
> non-parallel execution. In this way, they don't have to make sure, that
> all their tests are properly isolated. This is useful, if you work with
> other with external storages like e.g. solr and django-haystack.
New description:
In PR https://github.com/django/django/pull/9342 I propose to enable users
to mark tests for non-parallel execution. In this way, they don't have to
make sure, that all their tests are properly isolated. This is useful, if
you work with other with external storages like e.g. solr and django-
haystack.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:1>
Old description:
> In PR https://github.com/django/django/pull/9342 I propose to enable
> users to mark tests for non-parallel execution. In this way, they don't
> have to make sure, that all their tests are properly isolated. This is
> useful, if you work with other with external storages like e.g. solr and
> django-haystack.
New description:
In PR https://github.com/django/django/pull/9342 I propose to enable users
to mark tests for non-parallel execution. In this way, they don't have to
make sure, that all their tests are properly isolated. This is useful, if
you work with other external storages like e.g. solr and django-haystack.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:2>
Comment (by Tim Graham):
Isn't this is already provided by
ba813864870d63de1d1679271c38a3c15e94e934? It could probably be documented
if needed.
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:3>
Comment (by Tobias Krönke):
I don't want to be too eager for this to be merged. I probably wouldn't
have looked any further had I known this Mixin. Still I would like to
point out some advantages of my solution:
- Less complex to use
- Less complex implementation (especially no lock files involved)
- More efficient, if you have only 1 shared resource (no concurrent waits
for the locked file)
Of course I also see the advantage of the existing mixin, that you can use
different lock files for different shared resources if you have many. A
hint in the docs would be quite pleasant.
So, your call ;-)
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:4>
* component: Testing framework => Documentation
* has_patch: 1 => 0
* type: New feature => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
I guess it's better to document the existing class rather than add another
one unless the new implementation is preferred for some reason.
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:5>
* owner: nobody => Caio Ariede
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:6>
Comment (by Caio Ariede):
[https://github.com/django/django/pull/11445 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:7>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:8>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"dafdfd6a60638c4edcca7c4e65d11c0af654d759" dafdfd6a]:
{{{
#!CommitTicketReference repository=""
revision="dafdfd6a60638c4edcca7c4e65d11c0af654d759"
Fixed #28790 -- Doc'd how to avoid running certain test classes in
parallel.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:9>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"7d8d2b56be12fd573dccba41cbeebfa2cea61534" 7d8d2b56]:
{{{
#!CommitTicketReference repository=""
revision="7d8d2b56be12fd573dccba41cbeebfa2cea61534"
[3.0.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in
parallel.
Backport of dafdfd6a60638c4edcca7c4e65d11c0af654d759 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:10>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"5e91adc79d2fd79821be43007b99ba9982a0358c" 5e91adc7]:
{{{
#!CommitTicketReference repository=""
revision="5e91adc79d2fd79821be43007b99ba9982a0358c"
[2.2.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in
parallel.
Backport of dafdfd6a60638c4edcca7c4e65d11c0af654d759 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28790#comment:11>