Add missing CleanReturnAsync() to some tests. (#18471)
This commit is contained in:
@@ -157,7 +157,11 @@ public sealed class SaveLoadReparentTest
|
||||
Assert.That(component.ParentSlot.Child, Is.EqualTo(id));
|
||||
});
|
||||
}
|
||||
|
||||
maps.DeleteMap(mapId);
|
||||
}
|
||||
});
|
||||
|
||||
await pairTracker.CleanReturnAsync();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,5 +28,7 @@ public sealed class LogErrorTest
|
||||
// But errors do
|
||||
await server.WaitPost(() => Assert.Throws<AssertionException>(() => logmill.Error("test")));
|
||||
await client.WaitPost(() => Assert.Throws<AssertionException>(() => logmill.Error("test")));
|
||||
|
||||
await pairTracker.CleanReturnAsync();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace Content.IntegrationTests.Tests.Networking
|
||||
|
||||
Assert.That(clEntityManager.GetComponent<TransformComponent>(lastSvEntity).Coordinates,
|
||||
Is.EqualTo(svEntityManager.GetComponent<TransformComponent>(lastSvEntity).Coordinates));
|
||||
|
||||
await pairTracker.CleanReturnAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user