aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2015-11-17 06:19:45 +0000
committerUbitUmarov2015-11-17 06:19:45 +0000
commitbbfeca4b0ca9843ee23e9c677b009f732c598a45 (patch)
treea1c6b82fcb377a1b19cfcc24780d5c756be68eb5
parent work around some 'tests' errors: missing call to InventoryDeQueueAndDelete() (diff)
downloadopensim-SC_OLD-bbfeca4b0ca9843ee23e9c677b009f732c598a45.zip
opensim-SC_OLD-bbfeca4b0ca9843ee23e9c677b009f732c598a45.tar.gz
opensim-SC_OLD-bbfeca4b0ca9843ee23e9c677b009f732c598a45.tar.bz2
opensim-SC_OLD-bbfeca4b0ca9843ee23e9c677b009f732c598a45.tar.xz
work around some 'tests' errors: a new event queue has a few null events
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/EventQueue/Tests/EventQueueTests.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/Tests/EventQueueTests.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/Tests/EventQueueTests.cs
index 16a902d..5eb4452 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/Tests/EventQueueTests.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/Tests/EventQueueTests.cs
@@ -126,6 +126,15 @@ namespace OpenSim.Region.ClientStack.Linden.Tests
126 126
127 Hashtable eventsResponse = m_eqgMod.GetEvents(UUID.Zero, sp.UUID); 127 Hashtable eventsResponse = m_eqgMod.GetEvents(UUID.Zero, sp.UUID);
128 128
129 // initial queue as null events
130 eventsResponse = m_eqgMod.GetEvents(UUID.Zero, sp.UUID);
131 if((int)eventsResponse["int_response_code"] != (int)HttpStatusCode.OK)
132 {
133 eventsResponse = m_eqgMod.GetEvents(UUID.Zero, sp.UUID);
134 if((int)eventsResponse["int_response_code"] != (int)HttpStatusCode.OK)
135 eventsResponse = m_eqgMod.GetEvents(UUID.Zero, sp.UUID);
136 }
137
129 Assert.That((int)eventsResponse["int_response_code"], Is.EqualTo((int)HttpStatusCode.OK)); 138 Assert.That((int)eventsResponse["int_response_code"], Is.EqualTo((int)HttpStatusCode.OK));
130 139
131// Console.WriteLine("Response [{0}]", (string)eventsResponse["str_response_string"]); 140// Console.WriteLine("Response [{0}]", (string)eventsResponse["str_response_string"]);