mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
chore: OpManagerTest fixes (#4480)
This commit is contained in:
parent
d2209d9eea
commit
4acafa3d47
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue