Closed jankotek closed 6 years ago
MapDB has unit test which causes JVM process to seg-fault while data are written to disk. It tests that commits are durable, and commited data survive JVM crash. We should port this code to IODB and test IODB similar way.
Relevant code is here: https://github.com/jankotek/mapdb/blob/master/src/test/java/org/mapdb/crash/CrashJVM.kt
MapDB has unit test which causes JVM process to seg-fault while data are written to disk. It tests that commits are durable, and commited data survive JVM crash. We should port this code to IODB and test IODB similar way.
Relevant code is here: https://github.com/jankotek/mapdb/blob/master/src/test/java/org/mapdb/crash/CrashJVM.kt