diff options
author | Justin Clark-Casey (justincc) | 2013-07-26 18:43:15 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-07-26 18:43:15 +0100 |
commit | a08f01fa8323e18a63e920158c7f51ae78ac0e93 (patch) | |
tree | 4e299c4bb51ba800491564c405c796739397511d /OpenSim/Region/ScriptEngine/Shared/Tests | |
parent | Comment debug message (diff) | |
download | opensim-SC_OLD-a08f01fa8323e18a63e920158c7f51ae78ac0e93.zip opensim-SC_OLD-a08f01fa8323e18a63e920158c7f51ae78ac0e93.tar.gz opensim-SC_OLD-a08f01fa8323e18a63e920158c7f51ae78ac0e93.tar.bz2 opensim-SC_OLD-a08f01fa8323e18a63e920158c7f51ae78ac0e93.tar.xz |
Fix NPC regression test failures.
These were genuine failures caused by ScenePresence.CompleteMovement() waiting for an UpdateAgent from NPC introduction that would never come.
Instead, we do not wait if the agent is an NPC.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs index 74f010e..495e684 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | |||
@@ -180,6 +180,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
180 | public void TestOsNpcLoadAppearance() | 180 | public void TestOsNpcLoadAppearance() |
181 | { | 181 | { |
182 | TestHelpers.InMethod(); | 182 | TestHelpers.InMethod(); |
183 | //TestHelpers.EnableLogging(); | ||
183 | 184 | ||
184 | // Store an avatar with a different height from default in a notecard. | 185 | // Store an avatar with a different height from default in a notecard. |
185 | UUID userId = TestHelpers.ParseTail(0x1); | 186 | UUID userId = TestHelpers.ParseTail(0x1); |