diff options
author | Justin Clark-Casey (justincc) | 2013-01-25 02:32:38 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-25 02:32:38 +0000 |
commit | 4f52acaa833b4c1c99e13f6ca7177efc7b2d15ab (patch) | |
tree | 30de81acf9b97d0270aca12b528ff66dafead3d2 | |
parent | Enable logging in new json store tests to find out why they fail on jenkins b... (diff) | |
download | opensim-SC_OLD-4f52acaa833b4c1c99e13f6ca7177efc7b2d15ab.zip opensim-SC_OLD-4f52acaa833b4c1c99e13f6ca7177efc7b2d15ab.tar.gz opensim-SC_OLD-4f52acaa833b4c1c99e13f6ca7177efc7b2d15ab.tar.bz2 opensim-SC_OLD-4f52acaa833b4c1c99e13f6ca7177efc7b2d15ab.tar.xz |
Increase logging by enabling during test setup rather than during individual tests of for JsonStore
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs index 0cbc5d9..b50bc0b 100644 --- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs +++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs | |||
@@ -59,6 +59,8 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests | |||
59 | { | 59 | { |
60 | base.SetUp(); | 60 | base.SetUp(); |
61 | 61 | ||
62 | TestHelpers.EnableLogging(); | ||
63 | |||
62 | IConfigSource configSource = new IniConfigSource(); | 64 | IConfigSource configSource = new IniConfigSource(); |
63 | IConfig jsonStoreConfig = configSource.AddConfig("JsonStore"); | 65 | IConfig jsonStoreConfig = configSource.AddConfig("JsonStore"); |
64 | jsonStoreConfig.Set("Enabled", "true"); | 66 | jsonStoreConfig.Set("Enabled", "true"); |
@@ -76,7 +78,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests | |||
76 | public void TestJsonCreateStore() | 78 | public void TestJsonCreateStore() |
77 | { | 79 | { |
78 | TestHelpers.InMethod(); | 80 | TestHelpers.InMethod(); |
79 | TestHelpers.EnableLogging(); | 81 | // TestHelpers.EnableLogging(); |
80 | 82 | ||
81 | UUID storeId = (UUID)m_smcm.InvokeOperation(UUID.Zero, UUID.Zero, "JsonCreateStore", new object[] { "{}" }); | 83 | UUID storeId = (UUID)m_smcm.InvokeOperation(UUID.Zero, UUID.Zero, "JsonCreateStore", new object[] { "{}" }); |
82 | 84 | ||
@@ -87,7 +89,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests | |||
87 | public void TestJsonGetValue() | 89 | public void TestJsonGetValue() |
88 | { | 90 | { |
89 | TestHelpers.InMethod(); | 91 | TestHelpers.InMethod(); |
90 | TestHelpers.EnableLogging(); | 92 | // TestHelpers.EnableLogging(); |
91 | 93 | ||
92 | UUID storeId | 94 | UUID storeId |
93 | = (UUID)m_smcm.InvokeOperation( | 95 | = (UUID)m_smcm.InvokeOperation( |
@@ -104,7 +106,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests | |||
104 | public void TestJsonTestPath() | 106 | public void TestJsonTestPath() |
105 | { | 107 | { |
106 | TestHelpers.InMethod(); | 108 | TestHelpers.InMethod(); |
107 | TestHelpers.EnableLogging(); | 109 | // TestHelpers.EnableLogging(); |
108 | 110 | ||
109 | UUID storeId | 111 | UUID storeId |
110 | = (UUID)m_smcm.InvokeOperation( | 112 | = (UUID)m_smcm.InvokeOperation( |
@@ -121,7 +123,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests | |||
121 | public void TestJsonSetValue() | 123 | public void TestJsonSetValue() |
122 | { | 124 | { |
123 | TestHelpers.InMethod(); | 125 | TestHelpers.InMethod(); |
124 | TestHelpers.EnableLogging(); | 126 | // TestHelpers.EnableLogging(); |
125 | 127 | ||
126 | UUID storeId | 128 | UUID storeId |
127 | = (UUID)m_smcm.InvokeOperation( | 129 | = (UUID)m_smcm.InvokeOperation( |