Increase SpawnAndDeleteAllEntitiesOnDifferentMaps test simulation time (#38901)

wait longer
This commit is contained in:
slarticodefast
2025-07-23 03:21:10 +02:00
committed by GitHub
parent ca697fe200
commit c3ff6c9184

View File

@@ -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(() => await server.WaitPost(() =>
{ {
@@ -112,7 +112,7 @@ namespace Content.IntegrationTests.Tests
entityMan.SpawnEntity(protoId, map.GridCoords); entityMan.SpawnEntity(protoId, map.GridCoords);
} }
}); });
await server.WaitRunTicks(15); await server.WaitRunTicks(450); // 15 seconds, enough to trigger most update loops
await server.WaitPost(() => await server.WaitPost(() =>
{ {
static IEnumerable<(EntityUid, TComp)> Query<TComp>(IEntityManager entityMan) static IEnumerable<(EntityUid, TComp)> Query<TComp>(IEntityManager entityMan)