From e233aad098fbcdb943aa4710cf4a2877cc805b33 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 30 Jan 2009 21:39:54 +0000 Subject: * Put a wait timeout on the archive test, just in case the archiver never returns --- .../Region/Environment/Modules/World/Archiver/Tests/ArchiverTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/Tests/ArchiverTests.cs b/OpenSim/Region/Environment/Modules/World/Archiver/Tests/ArchiverTests.cs index ccd2411..95064e2 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/Tests/ArchiverTests.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/Tests/ArchiverTests.cs @@ -75,7 +75,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver.Tests EventWaitHandle waitHandle = new ManualResetEvent(false); MemoryStream archiveWriteStream = new MemoryStream(); archiverModule.ArchiveRegion(archiveWriteStream, waitHandle); - waitHandle.WaitOne(); + waitHandle.WaitOne(60000, true); byte[] archive = archiveWriteStream.ToArray(); MemoryStream archiveReadStream = new MemoryStream(archive); -- cgit v1.1