Skip Menu |

This queue is for tickets about the POE-Component-Client-Keepalive CPAN distribution.

Report information
The Basics
Id: 78096
Status: resolved
Priority: 0/
Queue: POE-Component-Client-Keepalive

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.271
Fixed in: (no value)



Subject: 10_resolver.t hangs on Windows
Strawberry perl 5.16.0 and 5.14.0 t/10_resolver.t .. 1..6 ok 1 - first request honored asynchronously ok 2 - first request not from cache ok 3 - first request from internal resolver ok 4 - second request honored asynchronously ok 5 - second request not from cache ok 6 - second request from external resolver <-- hangs here -- Alexandr Ciornii, http://chorny.net
On Thu Jun 28 10:37:10 2012, CHORNY wrote: Show quoted text
> <-- hangs here
Incorrect. It just waits for some time here when run from prove and then exits correctly. It hangs only when run using "dmake test". -- Alexandr Ciornii, http://chorny.net
I believe this may be fixed in the following commit. I'll include it in the next release, which I hope to happen soon. commit 20d1dce836f7ecba7ae4cbb0449fa4540e1c6e92 Author: Rocco Caputo <rcaputo@cpan.org> Date: Mon Jul 15 02:24:41 2013 -0400 Remove a TestServer shutdown race condition. Counted after 14 cpantesters.org failures of the form "Failed test 'first request honored asynchronously'". Added detailed error information to the failure. If it happens again, I'll be better prepared to fix it. Stopped relying on the order of first/second connection callbacks. Previously, if the second fired first, we'd shut down the TestServer too early. The first connection would then fail because. Meanwhile, always shutdown the connection manager (not just after the second response). Each session has its own, and they both need to go. Otherwise the program waits the obligatory connection pool timeout.