Comment out TestSameSimulatorSeparatedRegionsQueryAccessFails() regression test logging accidentally left in
parent
885bec68bd
commit
c813ed44d8
|
@ -169,7 +169,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
public void TestSameSimulatorSeparatedRegionsQueryAccessFails()
|
public void TestSameSimulatorSeparatedRegionsQueryAccessFails()
|
||||||
{
|
{
|
||||||
TestHelpers.InMethod();
|
TestHelpers.InMethod();
|
||||||
TestHelpers.EnableLogging();
|
// TestHelpers.EnableLogging();
|
||||||
|
|
||||||
UUID userId = TestHelpers.ParseTail(0x1);
|
UUID userId = TestHelpers.ParseTail(0x1);
|
||||||
Vector3 preTeleportPosition = new Vector3(30, 31, 32);
|
Vector3 preTeleportPosition = new Vector3(30, 31, 32);
|
||||||
|
@ -234,7 +234,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
// position instead).
|
// position instead).
|
||||||
// Assert.That(sp.Lookat, Is.EqualTo(teleportLookAt));
|
// Assert.That(sp.Lookat, Is.EqualTo(teleportLookAt));
|
||||||
|
|
||||||
TestHelpers.DisableLogging();
|
// TestHelpers.DisableLogging();
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|
|
@ -100,6 +100,12 @@ namespace OpenSim.Tests.Common
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Disable logging whilst running the tests.
|
/// Disable logging whilst running the tests.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Remember, if a regression test throws an exception before completing this will not be invoked if it's at
|
||||||
|
/// the end of the test.
|
||||||
|
/// TODO: Always invoke this after every test - probably need to make all test cases inherit from a common
|
||||||
|
/// TestCase class where this can be done.
|
||||||
|
/// </remarks>
|
||||||
public static void DisableLogging()
|
public static void DisableLogging()
|
||||||
{
|
{
|
||||||
log4net.Config.XmlConfigurator.Configure(DisableLoggingConfigStream);
|
log4net.Config.XmlConfigurator.Configure(DisableLoggingConfigStream);
|
||||||
|
|
Loading…
Reference in New Issue