OpenSimMirror/OpenSim/Tests/Common
Justin Clark-Casey (justincc) ebe5e1731d In ObjectTortureTests, run garbage collector on Teardown and run scene loop update when scene objects have been deleted.
At least on mono 2.6.4, running GC.Collect() is not guaranteed to force gc of all objects when run in the same method where those objects had references.
Therefore, GC.Collect() is now being done in the per-script teardown of ObjectTortureTests.
In addition, scene loop update is being run after garbage collection in order to clean out the viewer update list of scene objects in the SceneGraph.
These measures mean that scene objects/parts are now garbage collected after a test run if deleted from the scene, resulting in a much better memory usage report (though probably still not very accurate).
However, deletion takes a very long time - what's really needed is to find out now why the entire scene isn't being GC'd by this measure.
This change hasn't yet been applied to the other stress tests.
2012-02-15 01:45:25 +00:00
..
Helpers Add TestAddTaskInventoryItem() 2012-02-07 21:00:47 +00:00
Mock In ObjectTortureTests, run garbage collector on Teardown and run scene loop update when scene objects have been deleted. 2012-02-15 01:45:25 +00:00
ANumericalToleranceConstraint.cs Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
DatabaseTestAttribute.cs Add copyright headers. 2009-04-14 10:56:24 +00:00
DoubleToleranceConstraint.cs Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately. 2011-03-09 23:25:24 +00:00
LongRunningAttribute.cs Formatting cleanup. 2009-10-01 01:17:47 +09:00
QuaternionToleranceConstraint.cs When calling osNpcMoveTo(), rotate the avatar in the direction of travel. 2011-09-21 19:28:41 +01:00
TestHelpers.cs rename TestHelper => TestHelpers for consistency 2011-08-06 00:31:03 +01:00
TestLogging.cs Add copyright headers. Formatting cleanup. Fix a compiler warning. 2009-08-17 10:29:06 +09:00
VectorToleranceConstraint.cs Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately. 2011-03-09 23:25:24 +00:00