tests: windows does not have 1ms time resolution
parent
0587dd38dc
commit
5971021b5d
|
@ -112,10 +112,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
|||
m_engine.PostedEvents.Clear();
|
||||
}
|
||||
|
||||
apiGrp1.LlRequestAgentDataCacheTimeoutMs = 1;
|
||||
apiGrp1.LlRequestAgentDataCacheTimeoutMs = 20;
|
||||
|
||||
// Make absolutely sure that we should trigger cache timeout.
|
||||
Thread.Sleep(apiGrp1.LlRequestAgentDataCacheTimeoutMs + 1);
|
||||
Thread.Sleep(apiGrp1.LlRequestAgentDataCacheTimeoutMs + 50);
|
||||
|
||||
{
|
||||
apiGrp1.llRequestAgentData(userId.ToString(), ScriptBaseClass.DATA_ONLINE);
|
||||
|
@ -135,7 +135,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
|||
|
||||
m_scene.CloseAgent(userId, false);
|
||||
|
||||
Thread.Sleep(apiGrp1.LlRequestAgentDataCacheTimeoutMs + 1 + 1);
|
||||
Thread.Sleep(apiGrp1.LlRequestAgentDataCacheTimeoutMs + 50);
|
||||
|
||||
{
|
||||
apiGrp1.llRequestAgentData(userId.ToString(), ScriptBaseClass.DATA_ONLINE);
|
||||
|
|
Loading…
Reference in New Issue