Bug 1104507

Summary: perl-CGI-Application-Plugin-CAPTCHA-0.04-10.fc21 FTBFS sometimes: race in t/02-create.t
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-CGI-Application-Plugin-CAPTCHAAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: emmanuel, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-CGI-Application-Plugin-CAPTCHA-0.04-11.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-04 14:00:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2014-06-04 07:39:56 UTC
There is a race in t/02-create.t which causes random test failure, especially on loaded host:

t/02-create.t .. 
1..4
ok 1 - HTTP Server started
not ok 2 - Got CAPTCHA successfully
ok 3 - An object of class 'HTTP::Cookies' isa 'HTTP::Cookies'
ok 4 - Received cryptographic hash in cookie

#   Failed test 'Got CAPTCHA successfully'
#   at t/02-create.t line 39.
# 500
# Can't connect to localhost:13432 (Spojení odmítnuto)
# Looks like you failed 1 test of 4.

See <https://rt.cpan.org/Public/Bug/Display.html?id=96200> for analysis.