diff options
author | Justin Clarke Casey | 2008-11-06 19:52:06 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-06 19:52:06 +0000 |
commit | 427a80bba550380a05d78fe7895fd9f6891f39ea (patch) | |
tree | ea947abe3bf3339a1f27789b0b55be57071ffbb8 /OpenSim/Region/ClientStack/LindenUDP/Tests | |
parent | * Test to ensure that the udp server stays active after receiving a SocketExc... (diff) | |
download | opensim-SC-427a80bba550380a05d78fe7895fd9f6891f39ea.zip opensim-SC-427a80bba550380a05d78fe7895fd9f6891f39ea.tar.gz opensim-SC-427a80bba550380a05d78fe7895fd9f6891f39ea.tar.bz2 opensim-SC-427a80bba550380a05d78fe7895fd9f6891f39ea.tar.xz |
* test: Add assert checking that the circuit which trigger the socket exception has been closed
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/Tests')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs index dc1c63d..a40677e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | |||
@@ -283,6 +283,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
283 | testLLUDPServer.LoadReceiveWithBeginException(epA); | 283 | testLLUDPServer.LoadReceiveWithBeginException(epA); |
284 | testLLUDPServer.LoadReceive(BuildTestObjectNamePacket(2, "packet3"), epB); | 284 | testLLUDPServer.LoadReceive(BuildTestObjectNamePacket(2, "packet3"), epB); |
285 | testLLUDPServer.ReceiveData(null); | 285 | testLLUDPServer.ReceiveData(null); |
286 | |||
287 | Assert.IsFalse(testLLUDPServer.HasCircuit(circuitCodeA)); | ||
286 | 288 | ||
287 | Assert.That(testLLPacketServer.GetTotalPacketsReceived(), Is.EqualTo(3)); | 289 | Assert.That(testLLPacketServer.GetTotalPacketsReceived(), Is.EqualTo(3)); |
288 | Assert.That(testLLPacketServer.GetPacketsReceivedFor(PacketType.ObjectName), Is.EqualTo(3)); | 290 | Assert.That(testLLPacketServer.GetPacketsReceivedFor(PacketType.ObjectName), Is.EqualTo(3)); |