The Chinese are no buddies of Putins. He’d as soon see them in the trash can. Putin does not want an emerging superpower encroaching on his eastern borders.
I think he’s been able to deal with it so far. Russia and China have never been good neighbors. But if you look at the past decade and a half, they’ve been mighty cordial by comparison, and I think it’s a reaction to the fact that the US has been acting as the world’s sole superpower.