mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
tests: windows does not have 1ms time resolution
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user