KISSIMMEE, Fla. -- The Astros led early after Carlos Pena hit a two-run homer in the first inning and added an RBI single in the second, but the Mets rallied in the seventh inning for a 7-5 win on Wednesday night at Osceola County Stadium.

Jordany Valdespin's RBI single kicked off New York's late four-run rally, which also included Zach Lutz's RBI base hit and a two-run triple by Matthew den Dekker.

Pena's fourth homer of the spring, which came off Mets starter Dillon Gee, put the Astros ahead, 2-0, in the first, and Houston scored three more times in the second on RBIs by Pena, Jose Altuve and Brett Wallace to take a five-run lead.

The Mets cut the lead to three runs in the third on a two-run homer by Collin Cowgill, and Brian Bixler added an RBI triple in the fifth inning.

Gee, making his fifth Spring Training appearance, worked four innings and allowed seven hits and five earned runs while striking out five. Astros starter Alex White, who's in contention for one of the final spots in the rotation, allowed seven hits and three runs in 4 1/3 innings.

Up next: Lucas Harrell, who found out on Wednesday that he will start the second game of the season, will start for the Astros when they face the Tigers at 5:05 p.m. CT in Lakeland, Fla., on Thursday. Harrell has allowed three earned runs over 13 innings this spring.