This is a possible test failure, pushing it in case the CI starts complaining. The change affects only test code; no cpp logic is involved.
The test_default_wallet_failure migration test calls the function
migrate_and_get_rpc(), which sets the mock time internally. But, at the
same time, the test already caches the mock time value, to later use it
in the backup existence check.
Setting the mock time twice can lead to a name mismatch during the
mentioned check (diff timestamp == diff backup names), which could
cause the test to fail.
The fix is very simple, just need to call the migration RPC directly.
Since the test expects the migration to fail, migrate_and_get_rpc() is
unnecessary here. I’m surprised the CI hasn’t complained about this yet.