public void TestLogoutClientDueToAck()
        {
            TestHelpers.InMethod();
            TestHelpers.EnableLogging();

            IniConfigSource ics    = new IniConfigSource();
            IConfig         config = ics.AddConfig("ClientStack.LindenUDP");

            config.Set("AckTimeout", -1);
            AddUdpServer(ics);

            ScenePresence sp = AddClient();

            m_udpServer.ClientOutgoingPacketHandler(sp.ControllingClient, true, false, false);

            ScenePresence spAfterAckTimeout = m_scene.GetScenePresence(sp.UUID);

            Assert.That(spAfterAckTimeout, Is.Null);
        }
        public void TestLogoutClientDueToAck()
        {
            TestHelpers.InMethod();
//            TestHelpers.EnableLogging();

            IniConfigSource ics    = new IniConfigSource();
            IConfig         config = ics.AddConfig("ClientStack.LindenUDP");

            config.Set("AckTimeout", -1);
            TestLLUDPServer udpServer = ClientStackHelpers.AddUdpServer(m_scene, ics);

            ScenePresence sp
                = ClientStackHelpers.AddChildClient(
                      m_scene, udpServer, TestHelpers.ParseTail(0x1), TestHelpers.ParseTail(0x2), 123456);

            udpServer.ClientOutgoingPacketHandler(sp.ControllingClient, true, false, false);

            ScenePresence spAfterAckTimeout = m_scene.GetScenePresence(sp.UUID);

            Assert.That(spAfterAckTimeout, Is.Null);
        }