Australia have been set a challenging target of 319 for victory by Sri Lanka in their Champions Trophy warm-up match at The Oval.
Stand-in skipper David Warner won the toss and elected to field and the decision looked vindicated as Sri Lanka slumped to 4-92.
However, skipper Angelo Mathews (95) and Asela Gunaratne (70no) led a fine recovery as Sri Lanka reached 7-318, with 61 runs scored in the final five overs on a scorching hot day in south London.
Australia named a 12-man squad with Josh Hazlewood not permitted to bat after bowling his 10 overs but it was Moises Henriques who was the pick of the attack taking 3-46.
Hazlewood took the first wicket when Upul Thuranga was caught smartly by Henriques for 13 to reduce Sri Lanka to 1-49 off as many balls.
Wicketkeeper Niroshan Dickwella was the next to depart after an entertaining 41, with his eight fours including successive ramp shots that flew to the rope off the bowling of James Pattinson.
But he was deceived by a slower ball from Henriques and Pat Cummins did well to take an awkward running catch to reduce the Lions to 2-60.
Henriques grabbed his second wicket when the dangerous Kusal Mendis holed out to Warner for five to leave Sri Lanka wobbling at 3-71.
Soon after they were four down when Pattinson's superb delivery re-arranged Dinesh Chandemal's stumps for 17 and he was joined back in the pavilion by Chamara Kapugedera (30) who was caught and bowled in Travis Head's first over.
But Matthews and Gunaratne led their side's recovery from 5-150 with a 91-run stand for the sixth wicket before the skipper was dismissed five runs short of his century as Henriques grabbed his third wicket.
Gunaratne chalked up his 50 three overs from the end of the innings and brought up the 300 with a big six off in an expensive over from Hazlewood that went for 24.
Seekkuge Prasanna was the final man out for 31 to hand Cummins his first wicket.