Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

tests/test_3_offline.py::TestOfflineChat::test_send_lots_of_offline_msgs gets stuck randomly

Chiusa
#8,838 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@link2xt ci sta già lavorando.

Dal 18/10/2026.

  • #8840 di @link2xt — chiusa senza merge
  • #8842 di @link2xt — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

I am trying to figure out why CFFI tests in CI sometimes get stuck, and it looks like sometimes all tests finish except one or even all tests finish (100% is printed), but then pytest does not exit.

I have narrowed down the problem to tests/test_3_offline.py::TestOfflineChat::test_send_lots_of_offline_msgs which locally makes pytest stuck randomly. This is not related to pytest-xdist or at least not to the -n option (i still have pytest-xdist installed in venv) because it gets stuck even with plain pytest tests/test_3_offline.py::TestOfflineChat::test_send_lots_of_offline_msgs.

There is a strange start_io() call here (in offline test):
https://github.com/chatmail/core/blob/dce6438d95152e10aa7ed8d04d87e10c9b57f6a6/python/tests/test_3_offline.py#L416
If i comment it out, the test does not get stuck anymore.

Starting I/O with fake "pseudo transport" is wrong and this line should be removed, but I also want to figure out why shutdown gets stuck if I/O is started.

I am using Python 3.14.8, so this is not related to Python 3.15 update from https://github.com/chatmail/core/pull/8817

Lingua principale
Rust
Stelle
938
Fork
151
Merge medio
1g 21h
PR unite (30g)
76

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di chatmail/core

Tutte le issue di chatmail/core

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.