The consumer price index was expected to rise 0.2% in May, with a 12-month inflation rate of 2.4%.