Just to be clear, China did invade Vietnam in 1979. https://en.wikipedia.org/wiki/Sino-Vietnamese_War https://www.npr.org/sections/parallels/2015/05/01/402572349/...
China invades to interrupt vietnam's invasion of cambodia (splitting vietnam's forces), but takes relatively heavy losses due to outdated military strategy (essentially losing to a bunch of militia on their way to the capitol).
Had Vietnam been allowed to take cambodia/laos/etc, a united indochina could have been a pretty serious player in the region, and served as a counter to China. Instead China essentially aborted that plan, and can now push its southern neighbors around.