From 33c79087b3d83171bd609dc430089c7a484a268d Mon Sep 17 00:00:00 2001 From: OrangeSmokingJacket Date: Wed, 20 Nov 2024 11:38:39 +0100 Subject: [PATCH] index_scan test condition added --- components/physical_plan/tests/operators/test_operators.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/physical_plan/tests/operators/test_operators.cpp b/components/physical_plan/tests/operators/test_operators.cpp index ffc82e74..49ccdf0e 100644 --- a/components/physical_plan/tests/operators/test_operators.cpp +++ b/components/physical_plan/tests/operators/test_operators.cpp @@ -413,6 +413,7 @@ TEST_CASE("operator::index::delete_and_update") { delete_.set_children( boost::intrusive_ptr(new index_scan(d(collection), cond, components::ql::limit_t::unlimit()))); delete_.on_execute(&pipeline_context); + REQUIRE(delete_.modified()->size() == 40); index_scan scan(d(collection), cond_check, components::ql::limit_t::unlimit()); scan.on_execute(&pipeline_context_check);