5
5
#include " helpers/get_value.h"
6
6
7
7
#include < library/cpp/testing/unittest/registar.h>
8
+ #include < ydb/core/tx/columnshard/engines/scheme/abstract/index_info.h>
8
9
#include < ydb/core/tx/columnshard/hooks/testing/controller.h>
9
10
#include < ydb/core/tx/columnshard/test_helper/controllers.h>
10
11
@@ -229,7 +230,9 @@ Y_UNIT_TEST_SUITE(KqpOlapSysView) {
229
230
helper.CreateTestOlapTable ();
230
231
NArrow::NConstruction::TStringPoolFiller sPool (3 , 52 );
231
232
helper.FillTable (sPool , 0 , 800000 );
232
- csController->WaitCompactions (TDuration::Seconds (10 ));
233
+ csController->WaitCompactions (TDuration::Seconds (5 ));
234
+ helper.FillTable (sPool , 0.5 , 800000 );
235
+ csController->WaitCompactions (TDuration::Seconds (5 ));
233
236
234
237
helper.GetVolumes (rawBytes1, bytes1, false , {" new_column_ui64" });
235
238
AFL_VERIFY (rawBytes1 == 0 );
@@ -241,9 +244,9 @@ Y_UNIT_TEST_SUITE(KqpOlapSysView) {
241
244
csController->WaitActualization (TDuration::Seconds (10 ));
242
245
ui64 rawBytes2;
243
246
ui64 bytes2;
244
- helper.GetVolumes (rawBytes2, bytes2, false , {" new_column_ui64" });
245
- AFL_VERIFY (rawBytes2 == 6500023 )(" real" , rawBytes2);
246
- AFL_VERIFY (bytes2 == 38880 )(" b" , bytes2);
247
+ helper.GetVolumes (rawBytes2, bytes2, false , { " new_column_ui64" , NOlap::IIndexInfo::SPEC_COL_DELETE_FLAG });
248
+ AFL_VERIFY (rawBytes2 == 0 )(" real" , rawBytes2);
249
+ AFL_VERIFY (bytes2 == 0 )(" b" , bytes2);
247
250
}
248
251
}
249
252
0 commit comments