Apply patch that fixes the failing T013_eStateSettingsRandomStorage test

See http://opensimulator.org/mantis/view.php?id=3993
Thanks Kunnis
mysql-performance
Justin Clark-Casey (justincc) 2009-11-27 18:52:20 +00:00
parent 251fd8c948
commit 0f745e928f
1 changed files with 4 additions and 3 deletions

View File

@ -154,13 +154,14 @@ namespace OpenSim.Data.Tests
); );
} }
//[Test] [Test]
// Currently fails occasionally
public void T012_EstateSettingsRandomStorage() public void T012_EstateSettingsRandomStorage()
{ {
// Letting estate store generate rows to database for us // Letting estate store generate rows to database for us
EstateSettings originalSettings = db.LoadEstateSettings(REGION_ID); EstateSettings originalSettings = db.LoadEstateSettings(REGION_ID);
new PropertyScrambler<EstateSettings>().Scramble(originalSettings); new PropertyScrambler<EstateSettings>()
.DontScramble(x=>x.EstateID)
.Scramble(originalSettings);
// Saving settings. // Saving settings.
db.StoreEstateSettings(originalSettings); db.StoreEstateSettings(originalSettings);