It is clear since the beginning of Shanghai 5, that Russia will be never an ally of China. Currently Russia does not want to be the enemy of CHina either. So Russia is drifting between friend with Nato and friend with China, depedning on circumstances.