microshed-testing icon indicating copy to clipboard operation
microshed-testing copied to clipboard

Hook to recycle application before test begins

Open aguibert opened this issue 5 years ago • 0 comments

Sometimes an app may be written assuming that it will outlive the lifecycle of its external resources, for example an app may assume a DB will already exist, and it may not be able to cope with a DB restarting during its activation.

To resolve this, we should recycle applications (if supported by the runtimes) in hollow mode so that each test run starts with a fresh application state.

aguibert avatar Sep 14 '19 02:09 aguibert