diff options
author | chertus <azuikov@ydb.tech> | 2023-03-02 19:31:26 +0300 |
---|---|---|
committer | chertus <azuikov@ydb.tech> | 2023-03-02 19:31:26 +0300 |
commit | 65643397d4090602c8ad40bc301b6f54aa93ddf6 (patch) | |
tree | c2fb1f71c412078e51a74eb94125f846fe160a44 | |
parent | 27b120dba450ba1cfe2f9b29008a421bd57ad497 (diff) | |
download | ydb-65643397d4090602c8ad40bc301b6f54aa93ddf6.tar.gz |
disable test till implementation
-rw-r--r-- | ydb/core/kqp/ut/olap/kqp_olap_ut.cpp | 4 | ||||
-rw-r--r-- | ydb/core/testlib/common_helper.cpp | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp b/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp index f961b35f123..08a2630ec5f 100644 --- a/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp +++ b/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp @@ -3893,8 +3893,10 @@ Y_UNIT_TEST_SUITE(KqpOlap) { R"( DELETE FROM `/Root/test_table` WHERE WatchID = 0; )" +#if 1 // TODO + , false +#endif ); - } Y_UNIT_TEST(PredicatePushdownCastErrors) { diff --git a/ydb/core/testlib/common_helper.cpp b/ydb/core/testlib/common_helper.cpp index 182e02b1638..35bacbb6afa 100644 --- a/ydb/core/testlib/common_helper.cpp +++ b/ydb/core/testlib/common_helper.cpp @@ -34,7 +34,7 @@ void THelper::StartDataRequest(const TString& request, const bool expectSuccess) TStringStream ss; f.GetValueSync().GetIssues().PrintTo(ss, false); Cerr << "REQUEST=" << request << ";RESULT=" << ss.Str() << ";EXPECTATION=" << expectation << Endl; - Y_VERIFY(expectation == f.GetValueSync().IsSuccess()); + UNIT_ASSERT(expectation == f.GetValueSync().IsSuccess()); *rrPtr = true; }); }); @@ -43,7 +43,7 @@ void THelper::StartDataRequest(const TString& request, const bool expectSuccess) Server.GetRuntime()->SimulateSleep(TDuration::Seconds(1)); } Cerr << "REQUEST=" << request << ";EXPECTATION=" << expectation << Endl; - Y_VERIFY(resultReady); + UNIT_ASSERT(resultReady); } void THelper::StartSchemaRequest(const TString& request, const bool expectSuccess, const bool waiting) const { @@ -60,7 +60,7 @@ void THelper::StartSchemaRequest(const TString& request, const bool expectSucces TStringStream ss; f.GetValueSync().GetIssues().PrintTo(ss, false); Cerr << "REQUEST=" << requestInt << ";RESULT=" << ss.Str() << ";EXPECTATION=" << expectation << Endl; - Y_VERIFY(expectation == f.GetValueSync().IsSuccess(), "%d", expectation ? 1 : 0); + UNIT_ASSERT(expectation == f.GetValueSync().IsSuccess()); *rrPtr = true; }); }); @@ -70,7 +70,7 @@ void THelper::StartSchemaRequest(const TString& request, const bool expectSucces while (!*rrPtr && start + TDuration::Seconds(20) > TInstant::Now()) { Server.GetRuntime()->SimulateSleep(TDuration::Seconds(1)); } - Y_VERIFY(*rrPtr); + UNIT_ASSERT(*rrPtr); Cerr << "FINISHED_REQUEST=" << request << ";EXPECTATION=" << expectation << ";WAITING=" << waiting << Endl; } } |