diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/EventQueue')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/Tests/EventQueueTests.cs | 9 |
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"]); |