work around some 'tests' errors: a new event queue has a few null events
parent
16d158f2f1
commit
bbfeca4b0c
|
@ -126,6 +126,15 @@ namespace OpenSim.Region.ClientStack.Linden.Tests
|
|||
|
||||
Hashtable eventsResponse = m_eqgMod.GetEvents(UUID.Zero, sp.UUID);
|
||||
|
||||
// initial queue as null events
|
||||
eventsResponse = m_eqgMod.GetEvents(UUID.Zero, sp.UUID);
|
||||
if((int)eventsResponse["int_response_code"] != (int)HttpStatusCode.OK)
|
||||
{
|
||||
eventsResponse = m_eqgMod.GetEvents(UUID.Zero, sp.UUID);
|
||||
if((int)eventsResponse["int_response_code"] != (int)HttpStatusCode.OK)
|
||||
eventsResponse = m_eqgMod.GetEvents(UUID.Zero, sp.UUID);
|
||||
}
|
||||
|
||||
Assert.That((int)eventsResponse["int_response_code"], Is.EqualTo((int)HttpStatusCode.OK));
|
||||
|
||||
// Console.WriteLine("Response [{0}]", (string)eventsResponse["str_response_string"]);
|
||||
|
|
Loading…
Reference in New Issue