Remove obsolete PoolManager methods (#19499)

This commit is contained in:
Visne
2023-08-25 04:13:11 +02:00
committed by GitHub
parent 11a57be230
commit 9bd30d57ad
45 changed files with 108 additions and 134 deletions

View File

@@ -19,7 +19,7 @@ namespace Content.IntegrationTests.Tests.Networking
await client.WaitPost(() => host.ExecuteCommand("disconnect"));
// Run some ticks for the disconnect to complete and such.
await PoolManager.RunTicksSync(pair, 5);
await pair.RunTicksSync(5);
await Task.WhenAll(client.WaitIdleAsync(), server.WaitIdleAsync());
@@ -29,7 +29,7 @@ namespace Content.IntegrationTests.Tests.Networking
await client.WaitPost(() => netManager.ClientConnect(null, 0, null));
// Run some ticks for the handshake to complete and such.
await PoolManager.RunTicksSync(pair, 10);
await pair.RunTicksSync(10);
await Task.WhenAll(client.WaitIdleAsync(), server.WaitIdleAsync());
await pair.CleanReturnAsync();