Skip to content

Commit

Permalink
fix test ShouldProcessDestroyHandleRequestsAsynchronously
Browse files Browse the repository at this point in the history
  • Loading branch information
WilyTiger committed Sep 27, 2024
1 parent 4e0d085 commit 6460938
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cloud/filestore/libs/vfs_fuse/fs_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ Y_UNIT_TEST_SUITE(TFileSystemTest)
{
UNIT_ASSERT_VALUES_EQUAL(
1,
counters->GetCounter("InProgress")->GetAtomic());
AtomicGet(counters->GetCounter("InProgress")->GetAtomic()));

UNIT_ASSERT_VALUES_EQUAL(
FileSystemId,
Expand Down Expand Up @@ -1481,7 +1481,9 @@ Y_UNIT_TEST_SUITE(TFileSystemTest)

destroyFinished.GetFuture().Wait(WaitTimeout);
UNIT_ASSERT_VALUES_EQUAL(2U, handlerCalled.load());
UNIT_ASSERT_VALUES_EQUAL(0, counters->GetCounter("InProgress")->GetAtomic());
UNIT_ASSERT_VALUES_EQUAL(
0,
AtomicGet(counters->GetCounter("InProgress")->GetAtomic()));
}

Y_UNIT_TEST(ShouldRetryDestroyIfNotSuccessDuringAsyncProcessing)
Expand Down

0 comments on commit 6460938

Please sign in to comment.