]> git.bitcoin.ninja Git - rust-lightning/commit
Fix some test theoretical lock inversions
authorMatt Corallo <git@bluematt.me>
Tue, 12 Apr 2022 17:28:15 +0000 (17:28 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Jul 2022 19:28:29 +0000 (19:28 +0000)
commit0627c0c88a6672b6813b7b277dc925b8bf7cab49
tree7b5a1174744f8af398be252291324a60c8f4ce6d
parent2a3bf03f0c2630317285b26497771abf4e63191c
Fix some test theoretical lock inversions

In the next commit we add lockorder testing based on the line each
mutex was created on rather than the particular mutex instance.
This causes some additional test failure because of lockorder
inversions for the same mutex across different tests, which is
fixed here.
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/peer_handler.rs
lightning/src/ln/reorg_tests.rs