diff options
author | UbitUmarov | 2019-04-02 15:58:36 +0100 |
---|---|---|
committer | UbitUmarov | 2019-04-02 15:58:36 +0100 |
commit | 433e529512b20aed91412e0f8c0f02f38d422035 (patch) | |
tree | 839b09b26c1c60424f5008c2427ccae0b389bbfa /OpenSim/Region/CoreModules/Avatar | |
parent | change the point where child regions are closed/opened (diff) | |
download | opensim-SC-433e529512b20aed91412e0f8c0f02f38d422035.zip opensim-SC-433e529512b20aed91412e0f8c0f02f38d422035.tar.gz opensim-SC-433e529512b20aed91412e0f8c0f02f38d422035.tar.bz2 opensim-SC-433e529512b20aed91412e0f8c0f02f38d422035.tar.xz |
make tests happy again; try to speedup crossings
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs b/OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs index 0e7be7d..e63629e 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/Tests/ChatModuleTests.cs | |||
@@ -142,8 +142,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests | |||
142 | 142 | ||
143 | // We must update the scenes in order to make the root new root agents trigger position updates in their | 143 | // We must update the scenes in order to make the root new root agents trigger position updates in their |
144 | // children. | 144 | // children. |
145 | sceneWest.Update(3); | 145 | sceneWest.Update(4); |
146 | sceneEast.Update(3); | 146 | sceneEast.Update(4); |
147 | sp1.DrawDistance += 64; | ||
148 | sp2.DrawDistance += 64; | ||
149 | sceneWest.Update(2); | ||
150 | sceneEast.Update(2); | ||
147 | 151 | ||
148 | // Check child positions are correct. | 152 | // Check child positions are correct. |
149 | Assert.AreEqual( | 153 | Assert.AreEqual( |
@@ -233,8 +237,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests | |||
233 | 237 | ||
234 | // We must update the scenes in order to make the root new root agents trigger position updates in their | 238 | // We must update the scenes in order to make the root new root agents trigger position updates in their |
235 | // children. | 239 | // children. |
236 | sceneNorth.Update(3); | 240 | sceneNorth.Update(4); |
237 | sceneSouth.Update(3); | 241 | sceneSouth.Update(4); |
242 | sp1.DrawDistance += 64; | ||
243 | sp2.DrawDistance += 64; | ||
244 | sceneNorth.Update(2); | ||
245 | sceneSouth.Update(2); | ||
238 | 246 | ||
239 | // Check child positions are correct. | 247 | // Check child positions are correct. |
240 | Assert.AreEqual( | 248 | Assert.AreEqual( |