Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpeye committed Sep 25, 2024
1 parent bb3e226 commit 0e046fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ class TFileIOServiceProvider final
return FileIOs[p->second];
}

if ((PathToFileIOIndex.size() + 1) > PathsPerServices * FileIOs.size())
{
if (PathToFileIOIndex.size() + 1 > PathsPerServices * FileIOs.size()) {
auto service = Factory();
Y_DEBUG_ABORT_UNLESS(service);
service->Start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Y_UNIT_TEST_SUITE(TFileIOServiceProviderTest)

void ShouldCreateOneServicePerOnePathImpl(ui32 pathsToServices)
{
UNIT_ASSERT(pathsToServices <= 1);

TTestProvider upstream;

auto provider = CreateFileIOServiceProvider(
Expand Down

0 comments on commit 0e046fb

Please sign in to comment.