diff options
author | UbitUmarov | 2015-11-17 06:23:57 +0000 |
---|---|---|
committer | UbitUmarov | 2015-11-17 06:23:57 +0000 |
commit | 2ba14f82fe8247c76577bf5e646464548267612e (patch) | |
tree | d231e5e86e344800665660616e622ca2c9cfe01f /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups | |
parent | work around some 'tests' errors: a new event queue has a few null events (diff) | |
download | opensim-SC_OLD-2ba14f82fe8247c76577bf5e646464548267612e.zip opensim-SC_OLD-2ba14f82fe8247c76577bf5e646464548267612e.tar.gz opensim-SC_OLD-2ba14f82fe8247c76577bf5e646464548267612e.tar.bz2 opensim-SC_OLD-2ba14f82fe8247c76577bf5e646464548267612e.tar.xz |
work around some 'tests' errors: a new event queue has a few null events
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/Tests/GroupsModuleTests.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/Tests/GroupsModuleTests.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/Tests/GroupsModuleTests.cs index 9a42bac..f2f6593 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/Tests/GroupsModuleTests.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/Tests/GroupsModuleTests.cs | |||
@@ -98,6 +98,13 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.Tests | |||
98 | 98 | ||
99 | Hashtable eventsResponse = eqgm.GetEvents(UUID.Zero, sp.UUID); | 99 | Hashtable eventsResponse = eqgm.GetEvents(UUID.Zero, sp.UUID); |
100 | 100 | ||
101 | if((int)eventsResponse["int_response_code"] != (int)HttpStatusCode.OK) | ||
102 | { | ||
103 | eventsResponse = eqgm.GetEvents(UUID.Zero, sp.UUID); | ||
104 | if((int)eventsResponse["int_response_code"] != (int)HttpStatusCode.OK) | ||
105 | eventsResponse = eqgm.GetEvents(UUID.Zero, sp.UUID); | ||
106 | } | ||
107 | |||
101 | Assert.That((int)eventsResponse["int_response_code"], Is.EqualTo((int)HttpStatusCode.OK)); | 108 | Assert.That((int)eventsResponse["int_response_code"], Is.EqualTo((int)HttpStatusCode.OK)); |
102 | 109 | ||
103 | // Console.WriteLine("Response [{0}]", (string)eventsResponse["str_response_string"]); | 110 | // Console.WriteLine("Response [{0}]", (string)eventsResponse["str_response_string"]); |