When is Halo 5's war games set

I’ve been wondering does the Spartan IV simulated training occur before or after the events of Halo 5 where either the infinity is safe or it is set in where it is running from Cortana as there are maps simulated of after the created control on the Galaxy and if it were after the infinity must of been running from Cortana for a long time (seeing as how much I’ve played). Tell me what you think or maybe it’s something I’ve missed.

After. Stasis, Riptide and Torque all mention the effects of the Created.

I think the War Games are happening throughout out the story of Halo 5, with some of the War Games being set afterwards, hence the mention of the Created in a few maps.