Dimuth Karunaratne and Nishan Madushka both hit centuries as they amassed a record Sri Lankan opening stand in Galle of 228 in the second Test against Ireland on Wednesday.
The hosts were 357 for one at the close, still 135 runs behind but with nine wickets in hand.
Madushka was unbeaten on 149 at stumps, alongside Kusal Mendis, approaching a century of his own on 83, after Karunaratne departed for 115 -- the only wicket to fall on the third day of the match.
The first Test ended inside three days with Sri Lanka's spinners dominating, but the pitch in the second encounter has offered the spinners little assistance and the batsmen dominated proceedings.
Captain Karunaratne reached the 16th century of his test career, and his second consecutive ton, in just 116 balls.
But the left-hander mistimed a pull shot off Curtis Campher and was caught at deep fine leg in the last over before lunch, two balls after he was hit on the helmet.
Madushka had already brought up his maiden Test century, pulling a Harry Tector full toss for six.
Their 228 was a record Sri Lankan opening partnership at the ground, eclipsing the 193 between Marvan Atapattu and Sanath Jayasuriya against South Africa in 2000.
Mendis and Madushka continued the run-fest, with the number three racing to his 83 off 96 balls with seven fours and five sixes, including three in a row off debutant left-arm spinner Matthew Humphreys, who was rapidly taken out of the attack.
Bad light interrupted play before tea, before the rains came down and it was called off for the day.
The prospect of a draw loomed large but Sri Lanka batting coach Naveed Nawaz insisted his side could still win the game "although rain has played havoc".
"There's a total of 180 overs left in the game now," he told reporters. "If we bat for another 90 overs, we'll be able to take a decent lead as our deficit is now only 135.
"We have wickets in hand and this is still a good batting pitch."
Play will resume 15 minutes early on the final two days to make up for lost time.
Sri Lanka lead the two-match series 1-0.
Ireland fast bowling coach Ryan Eagleson conceded his team's bowlers "are still learning and are less experienced in Test cricket".
"So you have got to give them time and be patient," he said.