From 764f270d34dcce91e5cbce4120aa8822220c96ee Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 16 Dec 2015 23:13:10 +0000 Subject: revert last change and add delays on testing, since child updates now have time control, since they are heavy http connections --- OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/CoreModules/Avatar') diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs b/OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs index 2409822..0af9504 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs @@ -41,6 +41,7 @@ using OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation; using OpenSim.Region.Framework.Scenes; using OpenSim.Services.Interfaces; using OpenSim.Tests.Common; +using System.Threading; namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests { @@ -168,6 +169,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests sp1.AbsolutePosition = sp1Position; sceneEast.Update(1); + Thread.Sleep(15000); // child updates are now time limited // Check child position is correct. Assert.AreEqual( new Vector3(sp1Position.X + sceneEast.RegionInfo.RegionSizeX, sp1Position.Y, sp1Position.Z), @@ -254,6 +256,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests sp1Position = new Vector3(30, 128, 20); sp1.AbsolutePosition = sp1Position; sceneNorth.Update(1); + sceneSouth.Update(1); + + Thread.Sleep(15000); // child updates are now time limited // Check child position is correct. Assert.AreEqual( -- cgit v1.1