Noticing the Jenkins machine fails to connect to server before the server logs even begin. Giving the server some time (5 seconds) to boot up before trying to connect to see if that helps

Signed-off-by: Gene Walters <genewalt@amazon.com>
This commit is contained in:
Gene Walters
2021-10-20 23:33:22 -07:00
parent 55c96e9eb1
commit b81bf1064f
@@ -255,6 +255,15 @@ namespace Multiplayer
if (editorsv_launch && LocalHost == remoteAddress)
{
m_serverProcess = LaunchEditorServer();
AZ_Warning(
"MultiplayerEditor", false,
"Just launched LaunchEditorServer. About to sleep!");
AZStd::this_thread::sleep_for(AZStd::chrono::seconds(5.0));
AZ_Warning("MultiplayerEditor", false, "Just launched LaunchEditorServer. Done sleeping!");
}
// Spawnable library needs to be rebuilt since now we have newly registered in-memory spawnable assets