They pretty much always run events at Olympic venues beforehand as a dry run for logistics, infrastructure, etc. like Clyde said. It allows them to make adjustments for things like crowd flows, getting people to events, whether there are enough washrooms and food outlets, athletes facilities, warm-up capabilities, etc.
But I really wonder if there will be enough people out at this event to be able to tell enough of that. Maybe there won't be anyone attending the golf at the games either.
We are having the PanAm games in Toronto right now and golf is included - they are playing at Angus Glen. The tickets cost $50 and the players are all no-names since Brooke Henderson pulled out.