Skip to content

Commit f0c065a

Browse files
niksavelievGazizonoki
authored andcommitted
Moved commit "Fix read session correct close ut" from ydb repo
1 parent 16fffbd commit f0c065a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/client/topic/ut/basic_usage_ut.cpp

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

630630
std::shared_ptr<NYdb::NTopic::IReadSession> ReadSession;
@@ -659,8 +659,6 @@ Y_UNIT_TEST_SUITE(BasicUsage) {
659659
Cerr << ">>> TEST: Session gracefully closed" << Endl;
660660

661661
Sleep(TDuration::Seconds(5));
662-
663-
// UNIT_ASSERT(false);
664662
}
665663

666664
Y_UNIT_TEST(ConflictingWrites) {

0 commit comments

Comments
 (0)