I made the same trip a few years ago and it went without a problem. The train from Santiago pulled into Ourense and we stepped off and within a couple of minutes the train to Leon pulled in on the track beside the one we arrived on.
Buen Camino!
This site is run by Ivar at in Santiago de Compostela.
This site participates in the Amazon Affiliate program, designed to provide a means for Ivar to earn fees by linking to Amazon