From 355247c2b257cd6f0688c9b378008840f4d43632 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 27 Mar 2009 16:33:15 +0000 Subject: * For each test in OpenSim.Region.Framework.Scenes.Tests, tell the console when the test starts * This is to help identify which test is freezing, since all the tests in the previous dll (coremodules) succeed * Unfortunately they are not executed in the same order in which the results are listed in Bamboo --- OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs') diff --git a/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs b/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs index 2c6ccc8..480abc6 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs @@ -26,6 +26,7 @@ */ using System; +using System.Reflection; using System.Threading; using System.Text; using System.Collections.Generic; @@ -50,6 +51,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests [Test] public void T010_AddObjects() { + Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod()); + random = new Random(); SceneObjectGroup found; EntityManager entman = new EntityManager(); @@ -77,12 +80,14 @@ namespace OpenSim.Region.Framework.Scenes.Tests Assert.That(entman.ContainsKey(obj1), Is.False); Assert.That(entman.ContainsKey(li1), Is.False); Assert.That(entman.ContainsKey(obj2), Is.False); - Assert.That(entman.ContainsKey(li2), Is.False); + Assert.That(entman.ContainsKey(li2), Is.False); } [Test] public void T011_ThreadAddRemoveTest() { + Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod()); + // This test adds and removes with mutiple threads, attempting to break the // uuid and localid dictionary coherence. EntityManager entman = new EntityManager(); -- cgit v1.1