Skip to content

Commit 9268875

Browse files
authored
Fix read session correct close ut (#11407)
1 parent ba6e0e6 commit 9268875

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ydb/public/sdk/cpp/client/ydb_topic/ut/basic_usage_ut.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ Y_UNIT_TEST_SUITE(BasicUsage) {
622622
bool res = session->Write(message);
623623
UNIT_ASSERT(res);
624624
}
625-
bool res = session->Close(TDuration::Seconds(10));
625+
bool res = session->Close(TDuration::Seconds(30));
626626
UNIT_ASSERT(res);
627627

628628
std::shared_ptr<NYdb::NTopic::IReadSession> ReadSession;
@@ -657,8 +657,6 @@ Y_UNIT_TEST_SUITE(BasicUsage) {
657657
Cerr << ">>> TEST: Session gracefully closed" << Endl;
658658

659659
Sleep(TDuration::Seconds(5));
660-
661-
// UNIT_ASSERT(false);
662660
}
663661

664662
Y_UNIT_TEST(ConflictingWrites) {

0 commit comments

Comments
 (0)