chore: OpManagerTest fixes (#4480)

This commit is contained in:
Roman Gershman 2025-01-20 13:38:26 +02:00 committed by GitHub
parent d2209d9eea
commit 4acafa3d47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,8 @@ struct OpManagerTest : PoolTestBase, OpManager {
void NotifyStashed(EntryId id, const io::Result<DiskSegment>& segment) override {
ASSERT_TRUE(segment);
stashed_[id] = *segment;
auto [it, inserted] = stashed_.emplace(id, *segment);
ASSERT_TRUE(inserted);
}
bool NotifyFetched(EntryId id, std::string_view value, DiskSegment segment,