mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-19 14:57:04 +00:00
test: Reduce the loop detection threshold from 50 down to 5
The loop test can be quite slow, specially on computers without cryptography-friendly instructions. This patch introduces a new flag for testing, so that we can bring the threshold down to 5. The test is just as useful but now runs in a few seconds, as opposed to a few minutes.
This commit is contained in:
@@ -22,6 +22,7 @@ CONFDIR=B generate_certs_for srv-B
|
||||
mkdir -p .logs-A .logs-B
|
||||
|
||||
chasquid -v=2 --logfile=.logs-A/chasquid.log --config_dir=A \
|
||||
--testing__max_received_headers=5 \
|
||||
--testing__outgoing_smtp_port=2025 &
|
||||
chasquid -v=2 --logfile=.logs-B/chasquid.log --config_dir=B \
|
||||
--testing__outgoing_smtp_port=1025 &
|
||||
|
||||
Reference in New Issue
Block a user