diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs index c140ec0..01e5ae0 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | |||
@@ -67,7 +67,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
67 | 67 | ||
68 | InventoryArchiverModule archiverModule = new InventoryArchiverModule(); | 68 | InventoryArchiverModule archiverModule = new InventoryArchiverModule(); |
69 | 69 | ||
70 | Scene scene = SceneSetupHelpers.SetupScene(); | 70 | Scene scene = SceneSetupHelpers.SetupScene(false); |
71 | SceneSetupHelpers.SetupSceneModules(scene, archiverModule); | 71 | SceneSetupHelpers.SetupSceneModules(scene, archiverModule); |
72 | CommunicationsManager cm = scene.CommsManager; | 72 | CommunicationsManager cm = scene.CommsManager; |
73 | 73 | ||
@@ -119,6 +119,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
119 | lock (this) | 119 | lock (this) |
120 | { | 120 | { |
121 | archiverModule.ArchiveInventory(userFirstName, userLastName, "Objects", archiveWriteStream); | 121 | archiverModule.ArchiveInventory(userFirstName, userLastName, "Objects", archiveWriteStream); |
122 | AssetServerBase assetServer = (AssetServerBase)scene.CommsManager.AssetCache.AssetServer; | ||
123 | while (assetServer.HasWaitingRequests()) | ||
124 | assetServer.ProcessNextRequest(); | ||
125 | |||
122 | Monitor.Wait(this, 60000); | 126 | Monitor.Wait(this, 60000); |
123 | } | 127 | } |
124 | 128 | ||