Maybe a record.
Is this the Retina or non-Retina version. In 2012 there were both types in the 15-inch size. Non-Retina has an optical drive, and generally has a better survivability record than the Retinas. They were the last user-upgradeable models and easy to service.
I've had a 2012 Macbook Pro 13 (non-Retina and bought as an Apple-direct refurb) in continuous service as both a backup and a travel computer since Summer 2013. Only this week did I get a new m4 Pro Macbook Pro because too many web sites were rejecting the Mojave version of Safari. I kept it at Mojave for compatibility reasons.
I would not have used mine so long had I not updated its hardware. In about 2018 I replaced the slow factory hard drive with nice solid-state drive. Data transfer speeds went from 70MB/sec to 500MB/sec, and made the computer feel new again. I still find it enjoyably to use.
Mine has never failed to work. It still has the original battery. It shipped with macOS 10.8 "Mountain Lion" and worked perfectly with every subsequent OS through Mojave.
The only weak spot in the 13-inch versions was the hard drive cable. With wear due to normal use and transport, the thin insulation chafed against metal edges on the chassis and caused a litany of oddball problems. The rule for updaters of that model was always replace the cable when you replace or service the drive. Does not seem to be as much of an issue with the non-Retina 15-inch versions.
AJ