mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-30 20:09:18 -04:00
The deferred-save cases added in #11930 set the dirty flag through the test shim. These two go through NodeDB::updateUser() with a new peer inside the one-minute throttle window, check the peer is not yet in nodes.proto, then read nodes.proto back after the minute passes and after a reboot and assert the peer is there under its name. Both fail if updateUser() stops marking the database dirty. Co-authored-by: marshallumsted <bot@marshallumsted.dev> Co-authored-by: Ben Meadors <benmmeadors@gmail.com>