Skip to content

Commit 864089b

Browse files
qyryqGazizonoki
authored andcommitted
Moved commit "ydb_persqueue: Fix TWriteSession_TestBrokenPolicy test" from ydb repo
1 parent bb058a2 commit 864089b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/persqueue_public/ut/retry_policy_ut.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ Y_UNIT_TEST_SUITE(RetryPolicy) {
5656
helper.Policy->Initialize();
5757
helper.Policy->ExpectFatalBreakDown();
5858
helper.EventLoop->AllowStop();
59-
auto f1 = helper.Write(false);
6059
helper.Setup->KickTablets();
61-
helper.Write(false);
60+
helper.Setup->WaitForTabletsDown();
6261

62+
auto f1 = helper.Write(false);
6363
helper.EventLoop->WaitForStop();
6464
UNIT_ASSERT(!f1.HasValue());
6565
helper.Setup = nullptr;

0 commit comments

Comments
 (0)