@@ -3338,7 +3338,7 @@ Y_UNIT_TEST_SUITE(IncrementalBackup) {
33383338 SimulateSleep (server, TDuration::Seconds (5 ));
33393339
33403340 // Capture expected state for all indexes
3341- auto expectedTable = KqpSimpleExec (runtime, R"(
3341+ auto expectedTable = KqpSimpleExecSuccess (runtime, R"(
33423342 SELECT key, value1, value2, value3 FROM `/Root/MultiIndexTable` ORDER BY key
33433343 )" );
33443344
@@ -3348,45 +3348,45 @@ Y_UNIT_TEST_SUITE(IncrementalBackup) {
33483348 runtime.SimulateSleep (TDuration::Seconds (10 ));
33493349
33503350 // Verify table data
3351- auto actualTable = KqpSimpleExec (runtime, R"(
3351+ auto actualTable = KqpSimpleExecSuccess (runtime, R"(
33523352 SELECT key, value1, value2, value3 FROM `/Root/MultiIndexTable` ORDER BY key
33533353 )" );
33543354 UNIT_ASSERT_VALUES_EQUAL (expectedTable, actualTable);
33553355
33563356 // Verify all indexes work
3357- auto index1Query = KqpSimpleExec (runtime, R"(
3357+ auto index1Query = KqpSimpleExecSuccess (runtime, R"(
33583358 SELECT key FROM `/Root/MultiIndexTable` VIEW index1 WHERE value1 = 14
33593359 )" );
33603360 UNIT_ASSERT_C (index1Query.find (" uint32_value: 4" ) != TString::npos, " Index1 should work" );
33613361
3362- auto index2Query = KqpSimpleExec (runtime, R"(
3362+ auto index2Query = KqpSimpleExecSuccess (runtime, R"(
33633363 SELECT key FROM `/Root/MultiIndexTable` VIEW index2 WHERE value2 = 24
33643364 )" );
33653365 UNIT_ASSERT_C (index2Query.find (" uint32_value: 4" ) != TString::npos, " Index2 should work" );
33663366
3367- auto index3Query = KqpSimpleExec (runtime, R"(
3367+ auto index3Query = KqpSimpleExecSuccess (runtime, R"(
33683368 SELECT key FROM `/Root/MultiIndexTable` VIEW index3 WHERE value3 = 34
33693369 )" );
33703370 UNIT_ASSERT_C (index3Query.find (" uint32_value: 4" ) != TString::npos, " Index3 should work" );
33713371
33723372 // Verify all index implementation tables were restored
3373- auto index1ImplCount = KqpSimpleExec (runtime, R"(
3373+ auto index1ImplCount = KqpSimpleExecSuccess (runtime, R"(
33743374 SELECT COUNT(*) FROM `/Root/MultiIndexTable/index1/indexImplTable`
33753375 )" );
33763376 UNIT_ASSERT_C (index1ImplCount.find (" uint64_value: 4" ) != TString::npos, " Index1 impl table should have 4 rows" );
33773377
3378- auto index2ImplCount = KqpSimpleExec (runtime, R"(
3378+ auto index2ImplCount = KqpSimpleExecSuccess (runtime, R"(
33793379 SELECT COUNT(*) FROM `/Root/MultiIndexTable/index2/indexImplTable`
33803380 )" );
33813381 UNIT_ASSERT_C (index2ImplCount.find (" uint64_value: 4" ) != TString::npos, " Index2 impl table should have 4 rows" );
33823382
3383- auto index3ImplCount = KqpSimpleExec (runtime, R"(
3383+ auto index3ImplCount = KqpSimpleExecSuccess (runtime, R"(
33843384 SELECT COUNT(*) FROM `/Root/MultiIndexTable/index3/indexImplTable`
33853385 )" );
33863386 UNIT_ASSERT_C (index3ImplCount.find (" uint64_value: 4" ) != TString::npos, " Index3 impl table should have 4 rows" );
33873387
33883388 // Verify index3 impl table data (spot check)
3389- auto index3ImplData = KqpSimpleExec (runtime, R"(
3389+ auto index3ImplData = KqpSimpleExecSuccess (runtime, R"(
33903390 SELECT value3, key FROM `/Root/MultiIndexTable/index3/indexImplTable` WHERE value3 = 34
33913391 )" );
33923392 UNIT_ASSERT_C (index3ImplData.find (" uint32_value: 34" ) != TString::npos, " Index3 impl should have value3=34" );
0 commit comments