Skip Menu |

This queue is for tickets about the Cache-Memcached CPAN distribution.

Report information
The Basics
Id: 71319
Status: open
Priority: 0/
Queue: Cache-Memcached

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

Bug Information
Severity: Important
Broken in:
  • 1.29
  • 1.30
Fixed in: (no value)



Subject: 100_flush_bug.t hangs on Windows
perl 5.14.0 Show quoted text
>perl -Mblib t/100_flush_bug.t
1..7 ok 1 - OK ok 2 - ERROR ok 3 - ERROR ok 4 - FOOERROR ok 5 - FOOOKERROR ok 6 - OK ok 7 - END Terminating on signal SIGINT(2) -- Alexandr Ciornii, http://chorny.net
Hello, I created a patch. (However, if IO version is somewhat low, 100_flush_bug.t and other tests may fail.) I tested Strawberry Perl: 5.14.4 (with IO 1.36_01) 5.16.3 (with IO 1.36_01) 5.18.4 (with IO 1.42) 5.20.3 (with IO 1.39) 5.22.2 (with IO 1.39) 5.24.0 (with IO 1.39) 5.26.1 (with IO 1.41_50) on Windows 7 32bit with memcached 1.4.5. Hope this help. Thank you, -- twata On 2011-9月-28 水 15:29:06, CHORNY wrote: Show quoted text
> perl 5.14.0 >
> >perl -Mblib t/100_flush_bug.t
> 1..7 > ok 1 - OK > ok 2 - ERROR > ok 3 - ERROR > ok 4 - FOOERROR > ok 5 - FOOOKERROR > ok 6 - OK > ok 7 - END > Terminating on signal SIGINT(2) >
Subject: 100_flush_bug.t.StrawberryP5-14-4.patch
--- Cache-Memcached-1.30/t/100_flush_bug.t 2012-05-19 08:25:27.000000000 +0900 +++ Cache-Memcached-1.30-patched/t/100_flush_bug.t 2020-05-16 19:47:56.182000000 +0900 @@ -60,3 +60,4 @@ ($_->[0] =~ s/\W//g); is $memd->flush_all, $_->[1], $_->[0]; } +kill 'TERM', $pid if $^O eq 'MSWin32';