• Jérome Perrin's avatar
    software/erp5/test: Make the "slow server" from test reply in 2 seconds · 32058a62
    Jérome Perrin authored
    Since haproxy checks backend is up at an inteval or 3 seconds with a timeout
    of 3 seconds, it can happen that the server reply in a bit more of 3 seconds
    and haproxy mark it as down.
    
    By using a shorter response time in test, we can achieve the same test coverage
    without this race condition and test runs a bit faster.
    32058a62
test_balancer.py 25 KB