Cassandane depends on presence of core files to detect/report process crashes, so if these aren't being generated (e.g. due to ulimit -c 0), it can't report crashes. And developers depend on core files not being truncated, so they can debug the damn things!
So we need a test that specifically does something that will always dump a large core, then check that the core file is created and is not truncated. If this test fails, then other tests' "success" results might be false.
Cassandane depends on presence of core files to detect/report process crashes, so if these aren't being generated (e.g. due to
ulimit -c 0
), it can't report crashes. And developers depend on core files not being truncated, so they can debug the damn things!So we need a test that specifically does something that will always dump a large core, then check that the core file is created and is not truncated. If this test fails, then other tests' "success" results might be false.