I want to stress test application resilience and verify the data is consistent given frequent power shutdowns.
As the goal is to test persistent state only the app itself is technically not required to be stopped immediately e.g. if there is a way to detach the file system somehow, or freeze writing and make a copy of the state that would do, any way without resorting to killing the process either from inside as System.exit
or a sigkill
from outside.