Increase WaitForEventCompletionOnScriptStop to 120 secs to show that the co-op setting is active in its regression tests.

0.7.4-extended
Justin Clark-Casey (justincc) 2013-01-22 01:08:24 +00:00
parent 85df66db51
commit 4495ecd158
1 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance.Tests
xEngineConfig.Set("ScriptStopStrategy", "co-op");
// This is not currently used at all for co-op termination. Bumping up to demonstrate that co-op termination
// has an effect - without it tests will fail due to a 120 second wait for the event to finish.
xEngineConfig.Set("WaitForEventCompletionOnScriptStop", 120000);
m_scene = new SceneHelpers().SetupScene("My Test", UUID.Random(), 1000, 1000, configSource);
SceneHelpers.SetupSceneModules(m_scene, configSource, m_xEngine);
m_scene.StartScripts();