diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-23 14:04:02 -0400 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-05-15 07:42:08 +0800 |
commit | 37a620748bd3578eda1c74daad8df8451d13b989 (patch) | |
tree | 14424869ce20bf8dd9f013c921ebb12ed273d605 /src/test/streams_tests.cpp | |
parent | ff4dc2075031e9a49220cc27a270aeabe8954989 (diff) |
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
Github-Pull: #18742
Rebased-From: fab6d060ce5f580db538070beec1c5518c8c777c
Diffstat (limited to 'src/test/streams_tests.cpp')
0 files changed, 0 insertions, 0 deletions