aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs')
-rw-r--r--OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs
index 4c966f5..6f5ed5f 100644
--- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs
+++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs
@@ -28,12 +28,15 @@
28using System; 28using System;
29using NUnit.Framework; 29using NUnit.Framework;
30using OpenSim.Data.Tests; 30using OpenSim.Data.Tests;
31using log4net;
32using System.Reflection;
31 33
32namespace OpenSim.Data.NHibernate.Tests 34namespace OpenSim.Data.NHibernate.Tests
33{ 35{
34 [TestFixture] 36 [TestFixture]
35 public class NHibernateMySQLGridTest : BasicGridTest 37 public class NHibernateMySQLGridTest : BasicGridTest
36 { 38 {
39 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
37 public string file; 40 public string file;
38 public NHibernateManager database; 41 public NHibernateManager database;
39 public string connect = "MySQL5Dialect;MySqlDataDriver;Server=localhost;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit"; 42 public string connect = "MySQL5Dialect;MySqlDataDriver;Server=localhost;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit";
@@ -54,7 +57,7 @@ namespace OpenSim.Data.NHibernate.Tests
54 } 57 }
55 catch (Exception e) 58 catch (Exception e)
56 { 59 {
57 Console.WriteLine("Exception {0}", e); 60 m_log.Error(e.ToString());
58 Assert.Ignore(); 61 Assert.Ignore();
59 } 62 }
60 } 63 }
@@ -72,4 +75,4 @@ namespace OpenSim.Data.NHibernate.Tests
72 } 75 }
73 } 76 }
74 } 77 }
75} \ No newline at end of file 78}