He was opposed to war but made war machines to pay the bills. Besides there's a certain logic to avoiding war by being more heavily armed than your neighbours.
By the time the bomb was tested, Nazi Germany had already surrendered (VE Day, May 8. Trinity test, July 16). And Stalin had already agreed to get involved in Asia.
If he wanted to go all the way to the Atlantic, why did he stop at Elbe and spend time negotiating at Potsdam.