aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiUserTests.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiUserTests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiUserTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiUserTests.cs
index a8964bf..70a3a9e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiUserTests.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiUserTests.cs
@@ -112,10 +112,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
112 m_engine.PostedEvents.Clear(); 112 m_engine.PostedEvents.Clear();
113 } 113 }
114 114
115 apiGrp1.LlRequestAgentDataCacheTimeoutMs = 1; 115 apiGrp1.LlRequestAgentDataCacheTimeoutMs = 20;
116 116
117 // Make absolutely sure that we should trigger cache timeout. 117 // Make absolutely sure that we should trigger cache timeout.
118 Thread.Sleep(apiGrp1.LlRequestAgentDataCacheTimeoutMs + 1); 118 Thread.Sleep(apiGrp1.LlRequestAgentDataCacheTimeoutMs + 50);
119 119
120 { 120 {
121 apiGrp1.llRequestAgentData(userId.ToString(), ScriptBaseClass.DATA_ONLINE); 121 apiGrp1.llRequestAgentData(userId.ToString(), ScriptBaseClass.DATA_ONLINE);
@@ -135,7 +135,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
135 135
136 m_scene.CloseAgent(userId, false); 136 m_scene.CloseAgent(userId, false);
137 137
138 Thread.Sleep(apiGrp1.LlRequestAgentDataCacheTimeoutMs + 1 + 1); 138 Thread.Sleep(apiGrp1.LlRequestAgentDataCacheTimeoutMs + 50);
139 139
140 { 140 {
141 apiGrp1.llRequestAgentData(userId.ToString(), ScriptBaseClass.DATA_ONLINE); 141 apiGrp1.llRequestAgentData(userId.ToString(), ScriptBaseClass.DATA_ONLINE);