Files
fm-orchestrator/module_build_service
Owen W. Taylor 4ddd3c2637 test_build: exit rather than hanging on event handler exception
Event handlers decorated with @celery_app_task don't raise an exception -
they just log the exception, leaving the Moksha hub running. This meant
that any failures in test_build would result in the test suite hanging
rather than failing usefully.

We solve this by adding a new class EventTrap which acts as a context
manager. Any exceptions that occur in event handlers are set on the
current EventTrap, and the test_build tests re-raise the exception.
2022-04-26 17:12:16 -04:00
..
2021-08-12 15:53:53 -04:00
2022-03-30 14:27:34 -04:00
2021-07-29 16:21:55 -04:00