We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53a8be6 commit de2c647Copy full SHA for de2c647
test/cctest/test_dataqueue.cc
@@ -609,6 +609,11 @@ TEST(DataQueue, DataQueueEntry) {
609
// Our original data queue should have a use count of 2.
610
CHECK_EQ(data_queue.use_count(), 2);
611
612
+ CHECK_EQ(data_queue2->is_capped(), false);
613
+ data_queue2->cap(); // The data queue needs to be capped, as data
614
+ // may be added later otherwise
615
+ CHECK_EQ(data_queue2->is_capped(), true);
616
+
617
std::shared_ptr<DataQueue::Reader> reader = data_queue2->get_reader();
618
619
bool pullIsPending = true;
0 commit comments