Performing the Crash Test
- Go to the /home directory.
cd /home/
- Decompress the RocksDB source package.
tar -zxvf rocksdb-6.10.2.tar.gz
- Go to the RocksDB source package directory.
cd /home/rocksdb-6.10.2
- Compile the test code.
make crash_test -j
- When the command is executed for the first time, the following information is displayed, showing the db_stress tool compilation process:
- If you run the command again, the compilation process is skipped because the test tool already exists, and the test program is directly executed.
The following figure shows the command output.

Parent topic: Test Method 2
