diff options
author | gvit <gvit@ydb.tech> | 2023-08-25 21:06:02 +0300 |
---|---|---|
committer | gvit <gvit@ydb.tech> | 2023-08-25 21:35:13 +0300 |
commit | 95f58de0390db8a1a2ada4c540b0cc8e851a0a60 (patch) | |
tree | 01370ef4f1d9c005331e24ca25ea16273018ad30 | |
parent | bbb47b7f6b8dd9fd3385f5a58e8825bb9ac202d0 (diff) | |
download | ydb-95f58de0390db8a1a2ada4c540b0cc8e851a0a60.tar.gz |
fix sql in parameter test KIKIMR-19135
-rw-r--r-- | ydb/core/kqp/ut/scan/kqp_scan_ut.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ydb/core/kqp/ut/scan/kqp_scan_ut.cpp b/ydb/core/kqp/ut/scan/kqp_scan_ut.cpp index b8e17e1218..6b3e52a63b 100644 --- a/ydb/core/kqp/ut/scan/kqp_scan_ut.cpp +++ b/ydb/core/kqp/ut/scan/kqp_scan_ut.cpp @@ -106,6 +106,10 @@ Y_UNIT_TEST_SUITE(KqpScan) { NKqp::TKqpCounters counters(kikimr.GetTestServer().GetRuntime()->GetAppData().Counters); NDataShard::gSkipReadIteratorResultFailPoint.Enable(-1); + Y_DEFER { + // just in case if test fails. + NDataShard::gSkipReadIteratorResultFailPoint.Disable(); + }; { auto it = kikimr.GetTableClient().StreamExecuteScanQuery(R"( @@ -126,7 +130,7 @@ Y_UNIT_TEST_SUITE(KqpScan) { << counters.GetActiveSessionActors()->Val()); } - NDataShard::gSkipRepliesFailPoint.Disable(); + NDataShard::gSkipReadIteratorResultFailPoint.Disable(); int count = 60; while (counters.GetActiveSessionActors()->Val() != 0 && count) { count--; |