From c3ff6c9184889bf009a27e736cd4639a8d05ef93 Mon Sep 17 00:00:00 2001 From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 23 Jul 2025 03:21:10 +0200 Subject: [PATCH] Increase SpawnAndDeleteAllEntitiesOnDifferentMaps test simulation time (#38901) wait longer --- Content.IntegrationTests/Tests/EntityTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.IntegrationTests/Tests/EntityTest.cs b/Content.IntegrationTests/Tests/EntityTest.cs index d78d58f80c..1222096e01 100644 --- a/Content.IntegrationTests/Tests/EntityTest.cs +++ b/Content.IntegrationTests/Tests/EntityTest.cs @@ -56,7 +56,7 @@ namespace Content.IntegrationTests.Tests } }); - await server.WaitRunTicks(15); + await server.WaitRunTicks(450); // 15 seconds, enough to trigger most update loops await server.WaitPost(() => { @@ -112,7 +112,7 @@ namespace Content.IntegrationTests.Tests entityMan.SpawnEntity(protoId, map.GridCoords); } }); - await server.WaitRunTicks(15); + await server.WaitRunTicks(450); // 15 seconds, enough to trigger most update loops await server.WaitPost(() => { static IEnumerable<(EntityUid, TComp)> Query(IEntityManager entityMan) @@ -270,7 +270,7 @@ namespace Content.IntegrationTests.Tests await pair.RunTicksSync(3); // We consider only non-audio entities, as some entities will just play sounds when they spawn. - int Count(IEntityManager ent) => ent.EntityCount - ent.Count(); + int Count(IEntityManager ent) => ent.EntityCount - ent.Count(); IEnumerable Entities(IEntityManager entMan) => entMan.GetEntities().Where(entMan.HasComponent); await Assert.MultipleAsync(async () =>