Commit 96e3a00e authored by Kevin Rocard's avatar Kevin Rocard Committed by Philippe Afonso
Browse files

[Workaround][xmlGenerator] Increase retry on EADDRINUSE



During host domain generation, a port must be chosen before spawning a servers,
producing an error if someone else uses it before the server.

This race was workaround by retiring 10 times before failing.
This divided the failure probability by 10, but is no longer sufficient.

A correct implementation without this race is currently been developed
(without socket) but until then change the retry number from 10 to 1000.

Signed-off-by: default avatarKevin Rocard <kevin.rocard@intel.com>
Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-17358
Change-Id: Ie80e4508952ef150eb999d9a6fa7e60b61825f35
Reviewed-on: https://android.intel.com:443/319856
parent 2f23dba7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment