I don't think China would attack because they are winning the Long Game without it, and an actual military attack would cost them enormously, I think, even if successful. But this hinges on their leaders being "rational".
I thought Putin would act rationally and was wrong. That surprised me, a lot.
A smaller but highly motivated military can be a very tough nut to crack. The morale is to the material as ten is to one.