diff options
author | Teravus Ovares (Dan Olivares) | 2009-08-26 21:05:46 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-08-26 21:05:46 -0400 |
commit | 6f077d5e5f9929f6593850dc096983dcf237e387 (patch) | |
tree | 7552e90c986191d1cc1db68241967ced6195f2e7 /OpenSim/Region/Framework/Scenes/Tests/StandaloneTeleportTests.cs | |
parent | Add reference to OpenMetaverse.dll to UserServer.Modules to make MSVS happy (diff) | |
download | opensim-SC-6f077d5e5f9929f6593850dc096983dcf237e387.zip opensim-SC-6f077d5e5f9929f6593850dc096983dcf237e387.tar.gz opensim-SC-6f077d5e5f9929f6593850dc096983dcf237e387.tar.bz2 opensim-SC-6f077d5e5f9929f6593850dc096983dcf237e387.tar.xz |
* Another attempt at fixing the random spurious test error.
* This time it might be the listening socket thread from HttpServer aborting with a non blocking thread abort exception. Hopefully calling Stop() on MainServer.Instance will solve that.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/StandaloneTeleportTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/StandaloneTeleportTests.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/StandaloneTeleportTests.cs b/OpenSim/Region/Framework/Scenes/Tests/StandaloneTeleportTests.cs index 23eab90..1d460dd 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/StandaloneTeleportTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/StandaloneTeleportTests.cs | |||
@@ -78,6 +78,17 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
78 | // Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod()); | 78 | // Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod()); |
79 | } | 79 | } |
80 | 80 | ||
81 | [TearDown] | ||
82 | public void TearDown() | ||
83 | { | ||
84 | try | ||
85 | { | ||
86 | if (MainServer.Instance != null) MainServer.Instance.Stop(); | ||
87 | } | ||
88 | catch (NullReferenceException) | ||
89 | { } | ||
90 | } | ||
91 | |||
81 | } | 92 | } |
82 | 93 | ||
83 | public class ThreadRunResults | 94 | public class ThreadRunResults |