aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-08-26 21:05:46 -0400
committerTeravus Ovares (Dan Olivares)2009-08-26 21:05:46 -0400
commit6f077d5e5f9929f6593850dc096983dcf237e387 (patch)
tree7552e90c986191d1cc1db68241967ced6195f2e7 /OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
parentAdd reference to OpenMetaverse.dll to UserServer.Modules to make MSVS happy (diff)
downloadopensim-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/Cache/UserProfileCacheServiceTests.cs')
-rw-r--r--OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
index 933fa12..2bb0926 100644
--- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
+++ b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
@@ -330,5 +330,16 @@ namespace OpenSim.Framework.Communications.Tests
330 Assert.That(rootFolder.RequestListOfFolders(), Is.Empty); 330 Assert.That(rootFolder.RequestListOfFolders(), Is.Empty);
331 Assert.That(myScene.InventoryService.GetFolder(myFolder), Is.Null); 331 Assert.That(myScene.InventoryService.GetFolder(myFolder), Is.Null);
332 } 332 }
333
334 [TearDown]
335 public void TearDown()
336 {
337 try
338 {
339 if (MainServer.Instance != null) MainServer.Instance.Stop();
340 }
341 catch (System.NullReferenceException)
342 { }
343 }
333 } 344 }
334} \ No newline at end of file 345} \ No newline at end of file