Root followed up his 228 in the first Test with 186 on the third day of the second Test against Sri Lanka.