void WaitForStudioStart(string StudioFolderPath) { var StudioStartedFilePath = Path.Combine(StudioFolderPath, "StudioStarted"); TestCleanupUtils.WaitForFileExist(StudioStartedFilePath); if (!(File.Exists(StudioStartedFilePath))) { throw new Exception("Studio Cannot Start."); } else { Console.WriteLine("Studio has started."); } }
void WaitForServerStart(string ServerFolderPath) { var ServerStartedFilePath = ServerFolderPath + "\\ServerStarted"; TestCleanupUtils.WaitForFileExist(ServerStartedFilePath); if (!(File.Exists(ServerStartedFilePath))) { throw new Exception("Server Cannot Start."); } else { Console.WriteLine("Server has started."); } }