aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Instance/Tests
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-22 02:26:04 +0000
committerJustin Clark-Casey (justincc)2013-01-22 02:26:04 +0000
commit0727784186ec906804e0b6d3cdc17877f1da9e06 (patch)
tree40ecbade6b534ae4de619cc9ef98b8b1e2e260df /OpenSim/Region/ScriptEngine/Shared/Instance/Tests
parentAdd regression test for co-op termination on infinite user function call regr... (diff)
downloadopensim-SC-0727784186ec906804e0b6d3cdc17877f1da9e06.zip
opensim-SC-0727784186ec906804e0b6d3cdc17877f1da9e06.tar.gz
opensim-SC-0727784186ec906804e0b6d3cdc17877f1da9e06.tar.bz2
opensim-SC-0727784186ec906804e0b6d3cdc17877f1da9e06.tar.xz
Set script delay factor to 0 in co-op termination tests
This is to ensure loops aren't actually terminating from a wait on an LSL function. This was not the case with any of the existing tests.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance/Tests')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/Tests/CoopTerminationTests.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/Tests/CoopTerminationTests.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/Tests/CoopTerminationTests.cs
index 149a27b..019375d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/Tests/CoopTerminationTests.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/Tests/CoopTerminationTests.cs
@@ -81,6 +81,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance.Tests
81 81
82 xEngineConfig.Set("ScriptStopStrategy", "co-op"); 82 xEngineConfig.Set("ScriptStopStrategy", "co-op");
83 83
84 // Make sure loops aren't actually being terminated by a script delay wait.
85 xEngineConfig.Set("ScriptDelayFactor", 0);
86
84 // This is really just set for debugging the test. 87 // This is really just set for debugging the test.
85 xEngineConfig.Set("WriteScriptSourceToDebugFile", true); 88 xEngineConfig.Set("WriteScriptSourceToDebugFile", true);
86 89