The Houston Astros and Evan Gattis have avoided arbitration by agreeing to a one-year, $3.3 million contract.

The two sides had a hearing scheduled for Tuesday afternoon.

Gattis had surgery Feb. 10 to repair a sports hernia. The Astros said then that he would be sidelined for four to six weeks.