[gnutls-devel] GnuTLS | Reduce runtime for timeout tests (#636)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Sun Dec 2 14:22:47 CET 2018
New Issue was created.
Issue 636: https://gitlab.com/gnutls/gnutls/issues/636
Author: Tim Rühsen
Assignee:
Wondering why some tests take a very long time while CPU is idle, I looked into `tests/handshake-timeout.c`.
This tests takes 45s, but I expected it to run 30s. The timeout in the client code and the sleep in the server code seem to add up - is this expected behavior ?
But anyways, why using 20s timeout in the client code and 30s sleep in the server code at all ? Having 2s and 3s should be fine as well (=stable even on slow machines), reducing execution time from 45s to 5s. I assume this is similar in other slow running timeout tests. I guess we can reduce the time for executing the test harness by 6-8 minutes on a single core CI runner, just by tuning these timeout values.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/636
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181202/c6c8e409/attachment-0001.html>
More information about the Gnutls-devel
mailing list