Every time when North Korea wants to bargain for something, it tests a bomb. Nuclear crisis is the only chip for the DPRK to survive in between the US, Russia and China.
By the the time of Deng, North Korea was well established and successive Chinese leaders have simply tried to maintain the status quo.