unittest blocks when testing function using multiprocessing.Pool with state spawn
Aperta
Nessuno ha ancora preso questa issue.
topic-multiprocessing
type-bug
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 36k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
| BPO | 33054 |
|---|---|
| Nosy | @pitrou |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2018-03-12.13:12:55.379>
labels = ['type-bug']
title = 'unittest blocks when testing function using multiprocessing.Pool with state spawn'
updated_at = <Date 2018-03-13.22:06:33.152>
user = 'https://bugs.python.org/KennethChik'
bugs.python.org fields:
activity = <Date 2018-03-13.22:06:33.152>
actor = 'pitrou'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2018-03-12.13:12:55.379>
creator = 'Kenneth Chik'
dependencies = []
files = []
hgrepos = []
issue_num = 33054
keywords = []
message_count = 2.0
messages = ['313648', '313787']
nosy_count = 2.0
nosy_names = ['pitrou', 'Kenneth Chik']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue33054'
versions = ['Python 3.6']
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Nell’issue non sono indicati file sorgente né test. Inizia riproducendo il blocco di unittest con multiprocessing.Pool usando lo stato spawn, quindi traccia l’interazione tra unittest e Pool; il lavoro è completato quando il test segnalato non si blocca più con questa configurazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- operating-systems, testing-qa
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100