﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31116	Running test in parallel seems broken.	Thierry Bastian	nobody	"Running my existing unit tests works fine. As soon as I try to run them with --parallel=4
I'm getting tons of errors


{{{
Process SpawnPoolWorker-17:
Traceback (most recent call last):
  File ""/usr/local/filewave/python/lib/python3.8/multiprocessing/process.py"", line 313, in _bootstrap
    self.run()
  File ""/usr/local/filewave/python/lib/python3.8/multiprocessing/process.py"", line 108, in run
    self._target(*self._args, **self._kwargs)
  File ""/usr/local/filewave/python/lib/python3.8/multiprocessing/pool.py"", line 114, in worker
    task = get()
  File ""/usr/local/filewave/python/lib/python3.8/multiprocessing/queues.py"", line 358, in get
    return _ForkingPickler.loads(res)
  File ""/Users/thierry/github/FileWave/Django/fwauth/tests/tests_server.py"", line 3, in <module>
    from django.contrib.auth.models import Permission
  File ""/usr/local/filewave/python/lib/python3.8/site-packages/django/contrib/auth/models.py"", line 2, in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
  File ""/usr/local/filewave/python/lib/python3.8/site-packages/django/contrib/auth/base_user.py"", line 47, in <module>
    class AbstractBaseUser(models.Model):
  File ""/usr/local/filewave/python/lib/python3.8/site-packages/django/db/models/base.py"", line 107, in __new__
    app_config = apps.get_containing_app_config(module)
  File ""/usr/local/filewave/python/lib/python3.8/site-packages/django/apps/registry.py"", line 252, in get_containing_app_config
    self.check_apps_ready()
  File ""/usr/local/filewave/python/lib/python3.8/site-packages/django/apps/registry.py"", line 135, in check_apps_ready
    raise AppRegistryNotReady(""Apps aren't loaded yet."")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
}}}


Am I missing something?"	Bug	closed	Testing framework	3.0	Normal	invalid			Unreviewed	0	0	0	0	0	0
