Skip to content

Commit

Permalink
Moved commit "Fix read session correct close ut" from ydb repo
Browse files Browse the repository at this point in the history
  • Loading branch information
niksaveliev authored and Gazizonoki committed Nov 8, 2024
1 parent 16fffbd commit f0c065a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/client/topic/ut/basic_usage_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ Y_UNIT_TEST_SUITE(BasicUsage) {
bool res = session->Write(message);
UNIT_ASSERT(res);
}
bool res = session->Close(TDuration::Seconds(10));
bool res = session->Close(TDuration::Seconds(30));
UNIT_ASSERT(res);

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

Sleep(TDuration::Seconds(5));

// UNIT_ASSERT(false);
}

Y_UNIT_TEST(ConflictingWrites) {
Expand Down

0 comments on commit f0c065a

Please sign in to comment.