All-rounder Angelo Mathews was unbeaten on 27 at the break with Prasanna Jayawardene 23 not out.
Sri Lanka lead the series 1-0 following their 10-wicket win in the opening Test in Galle.