Fast recycle more tests (#18516)
This commit is contained in:
@@ -12,7 +12,6 @@ using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Reflection;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Timing;
|
||||
|
||||
@@ -36,6 +35,8 @@ namespace Content.IntegrationTests.Tests.Networking
|
||||
[Test]
|
||||
public async Task Test()
|
||||
{
|
||||
// TODO remove fresh=true.
|
||||
// Instead, offset the all the explicit tick checks by some initial tick number.
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new() { Fresh = true, DummyTicker = true });
|
||||
var server = pairTracker.Pair.Server;
|
||||
var client = pairTracker.Pair.Client;
|
||||
@@ -393,12 +394,12 @@ namespace Content.IntegrationTests.Tests.Networking
|
||||
|
||||
[NetworkedComponent()]
|
||||
[Access(typeof(PredictionTestEntitySystem))]
|
||||
[RegisterComponent]
|
||||
public sealed class PredictionTestComponent : Component
|
||||
{
|
||||
public bool Foo;
|
||||
}
|
||||
|
||||
[Reflect(false)]
|
||||
public sealed class PredictionTestEntitySystem : EntitySystem
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
|
||||
Reference in New Issue
Block a user