diff options
author | Justin Clark-Casey (justincc) | 2009-11-27 18:52:20 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-11-27 18:52:20 +0000 |
commit | 0f745e928fd08bac7233c1e76c29c1154f9e7b8f (patch) | |
tree | 95fff180e69033dc21e759a6a0d0c961d8ec4672 | |
parent | Apply patch to reduce git revision text length if running sim directly from a... (diff) | |
download | opensim-SC-0f745e928fd08bac7233c1e76c29c1154f9e7b8f.zip opensim-SC-0f745e928fd08bac7233c1e76c29c1154f9e7b8f.tar.gz opensim-SC-0f745e928fd08bac7233c1e76c29c1154f9e7b8f.tar.bz2 opensim-SC-0f745e928fd08bac7233c1e76c29c1154f9e7b8f.tar.xz |
Apply patch that fixes the failing T013_eStateSettingsRandomStorage test
See http://opensimulator.org/mantis/view.php?id=3993
Thanks Kunnis
-rw-r--r-- | OpenSim/Data/Tests/BasicEstateTest.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Data/Tests/BasicEstateTest.cs b/OpenSim/Data/Tests/BasicEstateTest.cs index d8e1725..907bb38 100644 --- a/OpenSim/Data/Tests/BasicEstateTest.cs +++ b/OpenSim/Data/Tests/BasicEstateTest.cs | |||
@@ -154,13 +154,14 @@ namespace OpenSim.Data.Tests | |||
154 | ); | 154 | ); |
155 | } | 155 | } |
156 | 156 | ||
157 | //[Test] | 157 | [Test] |
158 | // Currently fails occasionally | ||
159 | public void T012_EstateSettingsRandomStorage() | 158 | public void T012_EstateSettingsRandomStorage() |
160 | { | 159 | { |
161 | // Letting estate store generate rows to database for us | 160 | // Letting estate store generate rows to database for us |
162 | EstateSettings originalSettings = db.LoadEstateSettings(REGION_ID); | 161 | EstateSettings originalSettings = db.LoadEstateSettings(REGION_ID); |
163 | new PropertyScrambler<EstateSettings>().Scramble(originalSettings); | 162 | new PropertyScrambler<EstateSettings>() |
163 | .DontScramble(x=>x.EstateID) | ||
164 | .Scramble(originalSettings); | ||
164 | 165 | ||
165 | // Saving settings. | 166 | // Saving settings. |
166 | db.StoreEstateSettings(originalSettings); | 167 | db.StoreEstateSettings(originalSettings); |