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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user