This test broke in 148 due to changes in `AutoReset` move-assignment, which made reusing a single `AutoReset` for multiple partition changes unreliable. This change gives each partition its own scoped `AutoReset` object, ensuring RAII restores the previous partition correctly. Chromium changes: https://chromium.googlesource.com/chromium/src/+/31aff9a0d6ab3e4e2e8bf928d9a9146def053018 commit 31aff9a0d6ab3e4e2e8bf928d9a9146def053018 Author: gate kibr <gkvjwa@gmail.com> Date: Fri Mar 27 03:04:37 2026 -0700 Add move-assignment for AutoReset Existing code only cover move construction. Add coverage for move assignment to an AutoReset that already manages a variable, which should restore the old value before taking ownership of the new one. Change-Id: If652a12b967f7f93fb827916fbab0765f58d2dee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7684905 Reviewed-by: Jan Wilken Dörrie <jdoerrie@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1606058}