Add GC unit tests

Adds unit tests covering the problematic scenarios identified
around conflicting data in child owner references

                      Before   After
package level         51%      68%
garbagecollector.go   60%      75%
graph_builder.go      50%      81%
graph.go              50%      68%

Added/improved coverage of key functions that had lacking unit test coverage:

* attemptToDeleteWorker
* attemptToDeleteItem
* processGraphChanges (added coverage of all added code)
This commit is contained in:
Jordan Liggitt
2020-10-09 17:50:52 -04:00
parent 603a0b016e
commit e491c3bc70
4 changed files with 1793 additions and 2 deletions

File diff suppressed because it is too large Load Diff