add the uid in a delete event to the absentOwnerCache

This commit is contained in:
Chao Xu 2016-09-15 10:45:43 -07:00
parent 21896dac4b
commit d122de5371

View File

@ -300,6 +300,7 @@ func TestProcessEvent(t *testing.T) {
gc: &GarbageCollector{
dirtyQueue: workqueue.NewTimedWorkQueue(),
clock: clock.RealClock{},
absentOwnerCache: NewUIDCache(2),
},
}
for i := 0; i < len(scenario.events); i++ {