Skip to content

Commit 92a8c88

Browse files
authored
Merge pull request #4396 from jkczyz/2026-02-fix-hanging-test
Fix thread starvation in `test_single_channel_multiple_mpp`
2 parents 94d1e5e + 1829dc9 commit 92a8c88

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lightning/src/ln/chanmon_update_fail_tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4709,6 +4709,9 @@ fn test_single_channel_multiple_mpp() {
47094709
}
47104710
have_event = true;
47114711
}
4712+
if !have_event {
4713+
std::thread::yield_now();
4714+
}
47124715
}
47134716
});
47144717

0 commit comments

Comments
 (0)