Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
a32206b3
Kaydet (Commit)
a32206b3
authored
Eyl 10, 2015
tarafından
Aymeric Augustin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Documented that the parallel test runner doesn't work on Windows.
üst
710b4a70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
django-admin.txt
docs/ref/django-admin.txt
+2
-1
1.9.txt
docs/releases/1.9.txt
+4
-3
runtests.py
tests/runtests.py
+4
-1
No files found.
docs/ref/django-admin.txt
Dosyayı görüntüle @
a32206b3
...
...
@@ -1289,7 +1289,8 @@ correctly:
$ pip install tblib
This feature isn't available on Oracle.
This feature isn't available on Windows. It doesn't work with the Oracle
database backend either.
.. warning::
...
...
docs/releases/1.9.txt
Dosyayı görüntüle @
a32206b3
...
...
@@ -135,9 +135,10 @@ Each process gets its own database. You must ensure that different test cases
don't access the same resources. For instance, test cases that touch the
filesystem should create a temporary directory for their own use.
This option is enabled by default for Django's own test suite on database
backends that support it (this is all the built-in backends except for
Oracle).
This option is enabled by default for Django's own test suite provided:
- the OS supports it (all but Windows)
- the database backend supports it (all the built-in backends but Oracle)
Minor features
~~~~~~~~~~~~~~
...
...
tests/runtests.py
Dosyayı görüntüle @
a32206b3
...
...
@@ -236,8 +236,11 @@ def teardown(state):
def
actual_test_processes
(
parallel
):
if
parallel
==
0
:
# On Python 3.4+: if multiprocessing.get_start_method() != 'fork':
if
not
hasattr
(
os
,
'fork'
):
return
1
# This doesn't work before django.setup() on some databases.
if
all
(
conn
.
features
.
can_clone_databases
for
conn
in
connections
.
all
()):
el
if
all
(
conn
.
features
.
can_clone_databases
for
conn
in
connections
.
all
()):
return
default_test_processes
()
else
:
return
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment