Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
JinheLin authored and ti-chi-bot committed Sep 21, 2022
1 parent d7f186d commit ee42819
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ try
// Check DMFile
const auto & dmfiles = store->id_to_segment.begin()->second->getStable()->getDMFiles();
ASSERT_EQ(dmfiles.size(), 1);
const auto & dmfile = dmfiles.front();
auto dmfile = dmfiles.front();
auto readable_path = DMFile::getPathByStatus(dmfile->parentPath(), dmfile->fileId(), DMFile::Status::READABLE);
ASSERT_EQ(dmfile->path(), readable_path);
ASSERT_EQ(DMFileReaderPool::instance().get(readable_path), nullptr);
Expand Down

0 comments on commit ee42819

Please sign in to comment.