Testing the data structures is all fine and good, but I wanted to
make sure the actual underlying timer was set to the right interval,
after all that std::chrono wrangling.
Details
Details
collectionschedulertest still passes
Diff Detail
Diff Detail
- Branch
- 2019_04_collectionscheduler_interval
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 10789 Build 10807: arc lint + arc unit
autotests/server/collectionschedulertest.cpp | ||
---|---|---|
33 ↗ | (On Diff #56038) | No, you use std::chrono_literals :-) |
src/server/collectionscheduler.h | ||
72 ↗ | (On Diff #56038) | So why not return std::chrono::milliseconds, then? This is why we have std::chrono now - so that we no longer have to awkwardly check the documentation for time units and get |