• Kirill Smelkov's avatar
    *: tests: don't hang on exception in non-main thread · 08e0c9fb
    Kirill Smelkov authored
    Previously if an assert or something failed in spawned thread, the main
    thread was usually spinning indefinitely = tests hang. -> Switch all
    threading places to use sync.WorkGroup and this way if a thread fails,
    all other threads are canceled and the exception is reported back to
    wg.wait in main thread.
    Since we start to go this route, NotifyChannel is reworked to fully use
    channels instead of busy-waiting.
Last commit
Last update
tests Loading commit data...
__init__.py Loading commit data...
array_ram.py Loading commit data...
array_zodb.py Loading commit data...