Resolves thread sanitizer failure @MarcoFalke found in #14058
qa: Use assert not BOOST_CHECK_* from multithreaded tests #14069
pull skeees wants to merge 1 commits into bitcoin:master from skeees:multithread-assert changing 1 files +2 −2-
skeees commented at 1:43 PM on August 26, 2018: contributor
-
Use assert when running from multithreaded code as BOOST_CHECK_* are not thread safe 737670c036
- MarcoFalke renamed this:
Use assert not BOOST_CHECK_* from multithreaded tests
qa: Use assert not BOOST_CHECK_* from multithreaded tests
on Aug 26, 2018 - MarcoFalke added the label Tests on Aug 26, 2018
- MarcoFalke added this to the milestone 0.17.0 on Aug 26, 2018
- MarcoFalke added the label Needs backport on Aug 26, 2018
- MarcoFalke merged this on Aug 26, 2018
- MarcoFalke closed this on Aug 26, 2018
- MarcoFalke referenced this in commit 1117283543 on Aug 26, 2018
- MarcoFalke referenced this in commit cf3d7f94c2 on Aug 27, 2018
- MarcoFalke removed the label Needs backport on Aug 27, 2018
-
in src/test/scheduler_tests.cpp:141 in 737670c036
137 | @@ -138,11 +138,11 @@ BOOST_AUTO_TEST_CASE(singlethreadedscheduler_ordered) 138 | // the callbacks should run in exactly the order in which they were enqueued 139 | for (int i = 0; i < 100; ++i) { 140 | queue1.AddToProcessQueue([i, &counter1]() { 141 | - BOOST_CHECK_EQUAL(i, counter1++); 142 | + assert(i == counter1++);
practicalswift commented at 9:18 AM on August 28, 2018:Side effect in assertion: Fixed in #14088. Please review :-)
uhliksk referenced this in commit ad7dd7c54f on Aug 29, 2018laanwj referenced this in commit 709a15b0a6 on Aug 31, 2018HashUnlimited referenced this in commit fa3fe5a8c5 on Sep 14, 2018PastaPastaPasta referenced this in commit 88a9682185 on Jun 27, 2021PastaPastaPasta referenced this in commit 969de22347 on Jun 27, 2021PastaPastaPasta referenced this in commit 2fc4775bfd on Jun 28, 2021PastaPastaPasta referenced this in commit b5a3283124 on Jun 28, 2021PastaPastaPasta referenced this in commit a6945f06dc on Jun 29, 2021PastaPastaPasta referenced this in commit 5303574f90 on Jun 29, 2021PastaPastaPasta referenced this in commit af66fc6ea3 on Jun 29, 2021PastaPastaPasta referenced this in commit 60c722151f on Jun 29, 2021PastaPastaPasta referenced this in commit 47361e1548 on Jun 29, 2021PastaPastaPasta referenced this in commit 689230b978 on Jun 29, 2021PastaPastaPasta referenced this in commit 29578a6148 on Jun 29, 2021PastaPastaPasta referenced this in commit 658d86e0d4 on Jun 29, 2021PastaPastaPasta referenced this in commit d9df41355c on Jun 29, 2021PastaPastaPasta referenced this in commit 989e01887d on Jun 29, 2021Munkybooty referenced this in commit f547446a20 on Jun 30, 2021Munkybooty referenced this in commit 1ff26a39f1 on Jun 30, 2021Munkybooty referenced this in commit d1d35d0796 on Jul 1, 2021PastaPastaPasta referenced this in commit ee68324db5 on Jul 1, 2021PastaPastaPasta referenced this in commit cd5a39c8af on Jul 1, 2021DrahtBot locked this on Sep 8, 2021ContributorsLabelsMilestone
0.17.0
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 18:15 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 18:15 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me