make tests happy again; try to speedup crossings

This commit is contained in:
UbitUmarov
2019-04-02 15:58:36 +01:00
parent 8152e47a4a
commit 433e529512
2 changed files with 37 additions and 10 deletions

View File

@@ -142,8 +142,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests
// We must update the scenes in order to make the root new root agents trigger position updates in their
// children.
sceneWest.Update(3);
sceneEast.Update(3);
sceneWest.Update(4);
sceneEast.Update(4);
sp1.DrawDistance += 64;
sp2.DrawDistance += 64;
sceneWest.Update(2);
sceneEast.Update(2);
// Check child positions are correct.
Assert.AreEqual(
@@ -233,8 +237,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests
// We must update the scenes in order to make the root new root agents trigger position updates in their
// children.
sceneNorth.Update(3);
sceneSouth.Update(3);
sceneNorth.Update(4);
sceneSouth.Update(4);
sp1.DrawDistance += 64;
sp2.DrawDistance += 64;
sceneNorth.Update(2);
sceneSouth.Update(2);
// Check child positions are correct.
Assert.AreEqual(