Tony Gonsolin continued a bid for his first All-Star Game appearance, pitching into the eighth inning as the Los Angeles Dodgers beat the San Diego Padres 5-1.