Skip to content

Commit 2c423ef

Browse files
authored
Statistics: WaitFor in test (#10815)
1 parent bd4787a commit 2c423ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb/core/statistics/aggregator/ut/ut_analyze_columnshard.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ Y_UNIT_TEST_SUITE(AnalyzeColumnshard) {
7070
auto analyzeRequest = MakeAnalyzeRequest({{tableInfo.PathId, {1, 2}}}, operationId);
7171
runtime.SendToPipe(tableInfo.SaTabletId, sender, analyzeRequest.release());
7272

73+
runtime.WaitFor("TEvAnalyzeTableResponse", [&]{ return block.size(); });
74+
7375
AnalyzeStatus(runtime, sender, tableInfo.SaTabletId, operationId, NKikimrStat::TEvAnalyzeStatusResponse::STATUS_ENQUEUED);
7476

7577
// Check EvRemoteHttpInfo

0 commit comments

Comments
 (0)