• Nils Goroll's avatar
    varnishtest: add -keepalive to repeat on a single connection · bfe1bcd8
    Nils Goroll authored
    For tests which do not require new connections for repetitions (for
    example because of possible error conditions), this reduces run time
    and the number of required ephemeral ports.
    
    The latter is a real issue when running many vtcs in parallel which
    each run many repetitions of the same test (for example to check for
    possible race conditions). When ephemeral ports are exhausted,
    seemingly unrelated issues like the following can be observed:
    
    ---- c1010 14.0 Failed to open 127.0.0.1 59763: (null)
    
    **** v1    1.8 vsl|          0 CLI             - Wr 300 65 Listen failed
    on socket '127.0.0.1:33328': Address already in use
    **** v1    1.8 vsl|          0 CLI             - EOF on CLI connection,
    worker stops
    
    An argument could be made that UDS does not suffer from the port
    exhaustion issue and thus such tests could be migrated to UDS. Yet
    also for this case the run time point remains, plus deliberately
    testing many iterations on a single connection could have its own
    merits.
    bfe1bcd8
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...