Forgetting to pass :shutdown-timeout to a test server (as was the case in test-ssl-session-access for example) adds 15s extra wait time for each instance. This patch centralizes setting it to 0 so that one doesn't have to remember doing so.
Also centralize the :port setting so that tests which pass extra settings only have to declare the ones which are relevant to the test.
Forgetting to pass
:shutdown-timeout
to a test server (as was the case intest-ssl-session-access
for example) adds 15s extra wait time for each instance. This patch centralizes setting it to 0 so that one doesn't have to remember doing so.Also centralize the
:port
setting so that tests which pass extra settings only have to declare the ones which are relevant to the test.Drop redundant with-handler-options macro.
@KingMob This came up while working on https://github.com/clj-commons/aleph/issues/696 but I didn't want to lump it in there since it's a bit noisy.