Closed Bug 1030243 Opened 10 years ago Closed 10 years ago

Fix port allocation/binding race condition in semiauto

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ato, Assigned: ato)

Details

semiauto's environment.py has a function that allocates a free port above 6666, but because the socket isn't bound immediately there is a chance of a race condition happening.

The solution is as ted points out in bug 1025897 to allocate the port on binding the socket – not before.
PR: https://github.com/mozilla-b2g/fxos-certsuite/pull/133
Assignee: nobody → ato
Status: NEW → ASSIGNED
Integrated.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.