diff options
author | UbitUmarov | 2019-10-16 20:16:59 +0100 |
---|---|---|
committer | UbitUmarov | 2019-10-16 20:16:59 +0100 |
commit | 5971021b5d55328dade369322648662779216250 (patch) | |
tree | 291388e77160b38f41514469b214aadd80888241 /OpenSim | |
parent | fix some texts init (diff) | |
download | opensim-SC-5971021b5d55328dade369322648662779216250.zip opensim-SC-5971021b5d55328dade369322648662779216250.tar.gz opensim-SC-5971021b5d55328dade369322648662779216250.tar.bz2 opensim-SC-5971021b5d55328dade369322648662779216250.tar.xz |
tests: windows does not have 1ms time resolution
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiUserTests.cs | 6 |
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); |