From f6820959b7649ad478e33a24b8cdc29a0dd88889 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 22 Nov 2015 04:49:01 +0000 Subject: add Monitor.wait on load --- OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs index d3ba5a5..21299f3 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs @@ -401,6 +401,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests { m_scene.EventManager.OnOarFileLoaded += LoadCompleted; m_archiverModule.DearchiveRegion(archiveReadStream); + Monitor.Wait(this, 60000); } Assert.That(m_lastErrorMessage, Is.Null); @@ -450,6 +451,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests { m_scene.EventManager.OnOarFileLoaded += LoadCompleted; m_archiverModule.DearchiveRegion(archiveReadStream); + Monitor.Wait(this, 60000); } Assert.That(m_lastErrorMessage, Is.Null); @@ -669,6 +671,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests { m_scene.EventManager.OnOarFileLoaded += LoadCompleted; m_archiverModule.DearchiveRegion(archiveReadStream); + Monitor.Wait(this, 60000); } Assert.That(m_lastErrorMessage, Is.Null); @@ -1015,6 +1018,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests Dictionary archiveOptions = new Dictionary(); archiveOptions.Add("merge", null); m_archiverModule.DearchiveRegion(archiveReadStream, Guid.Empty, archiveOptions); + Monitor.Wait(this, 60000); } Assert.That(m_lastErrorMessage, Is.Null); -- cgit v1.1