diff options
Diffstat (limited to 'OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs')
-rw-r--r-- | OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs b/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs index f148385..79fcc2d 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs | |||
@@ -28,12 +28,15 @@ | |||
28 | using System; | 28 | using System; |
29 | using NUnit.Framework; | 29 | using NUnit.Framework; |
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | ||
32 | using System.Reflection; | ||
31 | 33 | ||
32 | namespace OpenSim.Data.MySQL.Tests | 34 | namespace OpenSim.Data.MySQL.Tests |
33 | { | 35 | { |
34 | [TestFixture] | 36 | [TestFixture] |
35 | public class MySQLEstateTest : BasicEstateTest | 37 | public class MySQLEstateTest : BasicEstateTest |
36 | { | 38 | { |
39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
37 | public string file; | 40 | public string file; |
38 | public MySQLManager database; | 41 | public MySQLManager database; |
39 | public string connect = "Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;Pooling=false;"; | 42 | public string connect = "Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;Pooling=false;"; |
@@ -56,7 +59,7 @@ namespace OpenSim.Data.MySQL.Tests | |||
56 | } | 59 | } |
57 | catch (Exception e) | 60 | catch (Exception e) |
58 | { | 61 | { |
59 | Console.WriteLine("Exception {0}", e); | 62 | m_log.Error("Exception {0}", e); |
60 | Assert.Ignore(); | 63 | Assert.Ignore(); |
61 | } | 64 | } |
62 | } | 65 | } |