aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-14 17:15:09 +0000
committerJustin Clarke Casey2009-04-14 17:15:09 +0000
commit1894157dd3608a15c3336efc2d58eee0de092610 (patch)
treecfecb8e2104d9a88e82670e27ecedbda0466fa88 /OpenSim/Tests
parent* refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid hav... (diff)
downloadopensim-SC-1894157dd3608a15c3336efc2d58eee0de092610.zip
opensim-SC-1894157dd3608a15c3336efc2d58eee0de092610.tar.gz
opensim-SC-1894157dd3608a15c3336efc2d58eee0de092610.tar.bz2
opensim-SC-1894157dd3608a15c3336efc2d58eee0de092610.tar.xz
* Explicitly start the asset server thread so that unit tests can run single rather than multi-threaded (which may be behind the occasional test freezes)
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs
index 8416fb6..3b39d36 100644
--- a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs
+++ b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs
@@ -61,6 +61,7 @@ namespace OpenSim.Tests.Common.Mock
61 61
62 SQLAssetServer assetService = new SQLAssetServer(new TestAssetDataPlugin()); 62 SQLAssetServer assetService = new SQLAssetServer(new TestAssetDataPlugin());
63 m_assetCache = new AssetCache(assetService); 63 m_assetCache = new AssetCache(assetService);
64 m_assetCache.AssetServer.Start();
64 65
65 LocalInventoryService lis = new LocalInventoryService(); 66 LocalInventoryService lis = new LocalInventoryService();
66 lis.AddPlugin(m_inventoryDataPlugin); 67 lis.AddPlugin(m_inventoryDataPlugin);