- Fix portal crossing direction bug in collectCrossings: direction was determined by currSide (where blob is now), but should be determined by prevSide (where blob came from). A→B means blob was on A side before. - Add Enabled: true to portal test fixtures so they participate in crossing detection (portals default to disabled). - Refactor health.Checker: add injectable checkDB field defaulting to defaultCheckDB() for cleaner unit test overriding. - Fix TestHealthCheckSheddingLevelJSON: use getShedLevel override instead of trying to poke shedder internals; fixes type mismatch in closure. - Fix TestHealthCheckUptimeIncrement: backdate startTime to guarantee the second check crosses a 1-second boundary. |
||
|---|---|---|
| .. | ||
| manager.go | ||
| manager_test.go | ||