Hi guys,
I'm trying to optimize our Django testing workflow.
We have 7 different databases, and Django spends a lot of time on these
lines:
Creating test database for alias 'main_database'...
Creating test database for alias 'foo_database'...
Creating test database for alias 'bar_database'...
Long article somehow , but very informative ...
https://realpython.com/python-concurrency/
On Wed, 1 Apr 2020, 11:25 am cool-RR, wrote:
> Hi guys,
>
> I'm trying to optimize our Django testing workflow.
>
> We have 7 different databases, and Django spends a lot of time on these
> lines:
>
>
> C
This is a general article about concurrency in Python. I'm very good with
concurrency in Python, I'm asking about a specific case here.
On Wed, Apr 1, 2020 at 1:20 PM Motaz Hejaze wrote:
> Long article somehow , but very informative ...
>
> https://realpython.com/python-concurrency/
>
> On Wed,
If you are trying to optimize the test flow, then you may want to spend some
time shrinking your test databases to a more manageable size. Or have two sets;
abbreviated and full, with the larger one to exercise your (unknown) edge cases.
hth
- Tom
> On Apr 1, 2020, at 2:25 AM, cool-RR wrote:
When you say "shrinking your test databases", what do you mean exactly? I'm
a bit of a newbie on that part of Django.
On Wed, Apr 1, 2020 at 8:13 PM Thomas Lockhart
wrote:
> If you are trying to optimize the test flow, then you may want to spend
> some time shrinking your test databases to a mor
5 matches
Mail list logo