diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-23 14:04:02 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-05-13 19:57:50 -0400 |
commit | fab6d060ce5f580db538070beec1c5518c8c777c (patch) | |
tree | 4afbbf3f6247f21339086523bdad735d20338cc4 /src/validationinterface.h | |
parent | 64139803f1225dab26197a20314109d37fa87d5f (diff) | |
download | bitcoin-fab6d060ce5f580db538070beec1c5518c8c777c.tar.xz |
test: Add unregister_validation_interface_race test
This commit is (intentionally) adding a broken test. The test is broken
because it registering a subscriber object that can go out of scope
while events are still being sent.
To run the broken test and reproduce the bug:
- Remove comment /** and */
- ./configure --with-sanitizers=address
- export ASAN_OPTIONS=detect_leaks=0
- make
- while ./src/test/test_bitcoin -t validationinterface_tests/unregister_validation_interface_race --catch_system_errors=no ; do true; done
Diffstat (limited to 'src/validationinterface.h')
0 files changed, 0 insertions, 0 deletions