Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13711128
D3232.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
700 B
Subscribers
None
D3232.diff
View Options
diff --git a/src/test/scheduler_tests.cpp b/src/test/scheduler_tests.cpp
--- a/src/test/scheduler_tests.cpp
+++ b/src/test/scheduler_tests.cpp
@@ -202,11 +202,9 @@
// then the callbacks should run in exactly the order in which they were
// enqueued
for (int i = 0; i < 100; ++i) {
- queue1.AddToProcessQueue(
- [i, &counter1]() { BOOST_CHECK_EQUAL(i, counter1++); });
+ queue1.AddToProcessQueue([i, &counter1]() { assert(i == counter1++); });
- queue2.AddToProcessQueue(
- [i, &counter2]() { BOOST_CHECK_EQUAL(i, counter2++); });
+ queue2.AddToProcessQueue([i, &counter2]() { assert(i == counter2++); });
}
// finish up
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 10:35 (5 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5573282
Default Alt Text
D3232.diff (700 B)
Attached To
D3232: Avoid spurious boost output in scheduler_tests
Event Timeline
Log In to Comment