South Africa have rested a host of seniors, offering Sri Lanka an opportunity to win a white-ball game at long last.