lbrycrd/test/functional/test_framework
Suhas Daftuar 176c021d08 [qa] Test non-atomic chainstate writes
Adds new functional test, dbcrash.py, which uses -dbcrashratio to exercise the
logic for recovering from a crash during chainstate flush.

dbcrash.py is added to the extended tests, as it may take ~10 minutes to run

Use _Exit() instead of exit() for crash simulation

This eliminates stderr output such as:
    terminate called without an active exception
or
    Assertion failed: (!pthread_mutex_destroy(&m)), function ~recursive_mutex, file /usr/local/include/boost/thread/pthread/recursive_mutex.hpp, line 104.

Eliminating the stderr output on crash simulation allows testing with
test_runner.py, which reports a test as failed if stderr is produced.
2017-06-26 14:48:42 -07:00
..
__init__.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
address.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
authproxy.py test: Add elapsed time to RPC tracing 2017-05-07 09:17:28 +02:00
bignum.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
blockstore.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
blocktools.py Tests: Refactor to create witness script creation function 2017-04-20 11:28:45 -07:00
comptool.py Remove duplicate method definitions in NodeConnCB subclasses 2017-04-18 17:20:09 -04:00
coverage.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
key.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
mininode.py Fixed multiple typos 2017-06-22 19:18:10 +03:00
netutil.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
script.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
siphash.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
socks5.py [tests] Remove unused and duplicate imports 2017-03-22 17:49:23 +01:00
test_framework.py Replace cookie auth in tests 2017-06-08 11:22:52 -07:00
util.py [qa] Test non-atomic chainstate writes 2017-06-26 14:48:42 -07:00