diff options
author | Justin Clark-Casey (justincc) | 2013-03-21 00:46:08 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-03-21 00:46:08 +0000 |
commit | 46c833810ccd9dd0c3273803e208dc85bb0860a9 (patch) | |
tree | b30743cd471a706fdfd240747194607dd8f13a0c /OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs | |
parent | minor: disable logging on regression TestCrossOnSameSimulator() that I accide... (diff) | |
download | opensim-SC_OLD-46c833810ccd9dd0c3273803e208dc85bb0860a9.zip opensim-SC_OLD-46c833810ccd9dd0c3273803e208dc85bb0860a9.tar.gz opensim-SC_OLD-46c833810ccd9dd0c3273803e208dc85bb0860a9.tar.bz2 opensim-SC_OLD-46c833810ccd9dd0c3273803e208dc85bb0860a9.tar.xz |
On a teleport, lock m_agentsInTransit whilst we grab the value to check for completion just to be sure we're not using a thread cached version.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs index d6bc313..de4458d 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs | |||
@@ -107,7 +107,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
107 | } | 107 | } |
108 | 108 | ||
109 | [Test] | 109 | [Test] |
110 | public void TestSameSimulatorSeparatedRegions() | 110 | public void TestSameSimulatorIsolatedRegions() |
111 | { | 111 | { |
112 | TestHelpers.InMethod(); | 112 | TestHelpers.InMethod(); |
113 | // TestHelpers.EnableLogging(); | 113 | // TestHelpers.EnableLogging(); |
@@ -180,7 +180,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
180 | /// Test teleport procedures when the target simulator returns false when queried about access. | 180 | /// Test teleport procedures when the target simulator returns false when queried about access. |
181 | /// </summary> | 181 | /// </summary> |
182 | [Test] | 182 | [Test] |
183 | public void TestSameSimulatorSeparatedRegions_DeniedOnQueryAccess() | 183 | public void TestSameSimulatorIsolatedRegions_DeniedOnQueryAccess() |
184 | { | 184 | { |
185 | TestHelpers.InMethod(); | 185 | TestHelpers.InMethod(); |
186 | // TestHelpers.EnableLogging(); | 186 | // TestHelpers.EnableLogging(); |
@@ -264,7 +264,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
264 | /// Test teleport procedures when the target simulator create agent step is refused. | 264 | /// Test teleport procedures when the target simulator create agent step is refused. |
265 | /// </summary> | 265 | /// </summary> |
266 | [Test] | 266 | [Test] |
267 | public void TestSameSimulatorSeparatedRegions_DeniedOnCreateAgent() | 267 | public void TestSameSimulatorIsolatedRegions_DeniedOnCreateAgent() |
268 | { | 268 | { |
269 | TestHelpers.InMethod(); | 269 | TestHelpers.InMethod(); |
270 | // TestHelpers.EnableLogging(); | 270 | // TestHelpers.EnableLogging(); |
@@ -345,7 +345,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
345 | /// (for CreateAgent) but the viewer cannot reach the destination region due to network issues. | 345 | /// (for CreateAgent) but the viewer cannot reach the destination region due to network issues. |
346 | /// </remarks> | 346 | /// </remarks> |
347 | [Test] | 347 | [Test] |
348 | public void TestSameSimulatorSeparatedRegions_DestinationDidNotProcessViewerConnection() | 348 | public void TestSameSimulatorIsolatedRegions_DestinationDidNotProcessViewerConnection() |
349 | { | 349 | { |
350 | TestHelpers.InMethod(); | 350 | TestHelpers.InMethod(); |
351 | // TestHelpers.EnableLogging(); | 351 | // TestHelpers.EnableLogging(); |