Australia edge out Sri Lanka in Dilshan ODI farewell

Dilshan's fluent 42 in his one-day swansong was the second highest score and the former Sri Lanka captain quit the format with 10,290 runs, including 22 centuries from 330 matches.

He will play the two Twenty20 matches against Australia next month before retiring from international cricket.

Mathews dented Australia's top order, however, cheaply dismissing Warner and Shaun Marsh as the touring side slumped to 44 for three in the ninth over.

Bailey added 62 runs with Travis Head (36) to put Australia's chase back on track and put on 81 runs with Matthew Wade (42) to take the side close to victory.

Zampa, who had claimed 3-38 with the ball, scored the winning run but Bailey bagged the man-of-the-match award.

The teams stay put in Dambulla for the fourth one-dayer on Wednesday.

Â