Add missing CleanReturnAsync() to some tests. (#18471)

This commit is contained in:
Leon Friedrich
2023-07-31 15:57:52 +12:00
committed by GitHub
parent a8e2be7539
commit 3e599e2306
8 changed files with 84 additions and 7 deletions

View File

@@ -157,7 +157,11 @@ public sealed class SaveLoadReparentTest
Assert.That(component.ParentSlot.Child, Is.EqualTo(id));
});
}
maps.DeleteMap(mapId);
}
});
await pairTracker.CleanReturnAsync();
}
}

View File

@@ -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();
}
}

View File

@@ -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();
}
}
}