diff options
Diffstat (limited to 'OpenSim/Data/MySQL/Tests/MySQLGridTest.cs')
-rw-r--r-- | OpenSim/Data/MySQL/Tests/MySQLGridTest.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs b/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs index 953294f..fd71022 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs | |||
@@ -28,12 +28,16 @@ | |||
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 MySQLGridTest : BasicGridTest | 37 | public class MySQLGridTest : BasicGridTest |
36 | { | 38 | { |
39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
40 | |||
37 | public string file; | 41 | public string file; |
38 | public MySQLManager database; | 42 | public MySQLManager database; |
39 | public string connect = "Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;Pooling=false;"; | 43 | public string connect = "Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;Pooling=false;"; |
@@ -54,7 +58,7 @@ namespace OpenSim.Data.MySQL.Tests | |||
54 | } | 58 | } |
55 | catch (Exception e) | 59 | catch (Exception e) |
56 | { | 60 | { |
57 | Console.WriteLine("Exception {0}", e); | 61 | m_log.Error("Exception {0}", e); |
58 | Assert.Ignore(); | 62 | Assert.Ignore(); |
59 | } | 63 | } |
60 | } | 64 | } |
@@ -73,4 +77,4 @@ namespace OpenSim.Data.MySQL.Tests | |||
73 | } | 77 | } |
74 | } | 78 | } |
75 | } | 79 | } |
76 | } \ No newline at end of file | 80 | } |