[Bug 1128792] perl-Cache-Cache-1.06-16.fc22 FTBFS: t/6_test_size_aware_memory_cache.t fails

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 13 08:39:49 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1128792



--- Comment #3 from Petr Pisar <ppisar at redhat.com> ---
The unexpected dequeuing can be reproduced by:

--- a/lib/Cache/SizeAwareCacheTester.pm
+++ b/lib/Cache/SizeAwareCacheTester.pm
@@ -119,6 +119,7 @@ sub _test_two
     $self->ok( ) : $self->not_ok( '$first_size > $empty_size' );

   my $second_expires_in = $first_expires_in / 2;
+  sleep ($second_expires_in + 1);

   my $num_keys = 5;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=yssXjrGQXx&a=cc_unsubscribe



More information about the perl-devel mailing list