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/Framework/Communications/Tests/LoginServiceTests.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/Framework/Communications/Tests/LoginServiceTests.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs index 57a908e..0a9d2ae 100644 --- a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | |||
@@ -362,6 +362,16 @@ namespace OpenSim.Framework.Communications.Tests | |||
362 | //Console.WriteLine("Finished T023_TestAuthenticatedLoginAlreadyLoggedIn()"); | 362 | //Console.WriteLine("Finished T023_TestAuthenticatedLoginAlreadyLoggedIn()"); |
363 | } | 363 | } |
364 | 364 | ||
365 | [TearDown] | ||
366 | public void TearDown() | ||
367 | { | ||
368 | try | ||
369 | { | ||
370 | if (MainServer.Instance != null) MainServer.Instance.Stop(); | ||
371 | } catch (NullReferenceException) | ||
372 | {} | ||
373 | } | ||
374 | |||
365 | public class TestLoginToRegionConnector : ILoginServiceToRegionsConnector | 375 | public class TestLoginToRegionConnector : ILoginServiceToRegionsConnector |
366 | { | 376 | { |
367 | private List<RegionInfo> m_regionsList = new List<RegionInfo>(); | 377 | private List<RegionInfo> m_regionsList = new List<RegionInfo>(); |