Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
qyryq committed Aug 28, 2024
1 parent f5800d5 commit d288bfa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ydb/public/sdk/cpp/client/ydb_topic/ut/basic_usage_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,14 +455,15 @@ Y_UNIT_TEST_SUITE(BasicUsage) {

UNIT_ASSERT(!futureWrite.HasValue());
Cerr << ">>>TEST: future write has no value " << Endl;
RunTasks(stepByStepExecutor, {0});
RunTasks(stepByStepExecutor, {0}); // Run compression task.
RunTasks(stepByStepExecutor, {1}); // Run send task.
futureWrite.GetValueSync();
UNIT_ASSERT(futureWrite.HasValue());
Cerr << ">>>TEST: future write has value " << Endl;

UNIT_ASSERT(!futureRead.HasValue());
Cerr << ">>>TEST: future read has no value " << Endl;
RunTasks(stepByStepExecutor, {1});
RunTasks(stepByStepExecutor, {2}); // Run decompression task.
futureRead.GetValueSync();
UNIT_ASSERT(futureRead.HasValue());
Cerr << ">>>TEST: future read has value " << Endl;
Expand Down

0 comments on commit d288bfa

Please sign in to comment.