Fix a bug in T015_LargeSceneObjects() where the large scene object was stored 31 times (1 time for each added part) instead of once at the end, even though only the largest 31 prim scene object was retrieved and tested.
This considerably speeds up the test, when on sqlite it now only takes 2 seconds rather than 30+0.7.1-dev
parent
38c3be07b8
commit
fdcf910e00
|
@ -566,9 +566,10 @@ namespace OpenSim.Data.Tests
|
|||
|
||||
mydic.Add(tmp,sop);
|
||||
sog.AddPart(sop);
|
||||
db.StoreObject(sog, region4);
|
||||
}
|
||||
|
||||
db.StoreObject(sog, region4);
|
||||
|
||||
SceneObjectGroup retsog = FindSOG("Test SOG", region4);
|
||||
SceneObjectPart[] parts = retsog.Parts;
|
||||
for (int i = 0; i < 30; i++)
|
||||
|
|
Loading…
Reference in New Issue