public void Update_while_executable_is_running()
{
ArrangeTestApp(4, SiteName);
// Update multiple times to make sure that when the executable is disposed while running it doesn't throw an exception
_service.Update(SiteName);
_service.Update(SiteName);
_service.Update(SiteName);
_service.Wait(TimeSpan.FromSeconds(1));
AssertAppWasRun(SiteName, 4, "4");
}