The Astros scored a run in the ninth to keep the game going and then worked their way out of jams in both the 10th and 11th. Miami finally broke through, however, against David Carpenter (0-2) in the 12th.
Logan Morrison singled to open the inning and went to second on a walk to Giancarlo Stanton. After a fielder's choice by Greg Dobbs erased Stanton at second and put Morrison on third, John Buck drew a two-out walk to load the bases.
Carpenter got two strikes on Infante, but Infante came through with a single to center that scored Morrison and Dobbs.
Ryan Webb (2-1) got the final out of the Houston 11th and then worked the 12th to get the win.
Benedict Cumberbatch's dramatic reading of R. Kelly lyrics is just what you need
Couple mistakenly served bag of cash at McDonald's drive-thru