<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div></div>
<p dir="auto">Wondering why some tests take a very long time while CPU is idle, I looked into <code>tests/handshake-timeout.c</code>.</p>
<p dir="auto">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 ?</p>
<p dir="auto">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.</p>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/636">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/3a86b42523c296350cf060a26cfd22e8/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/issues/636"}}</script>
</p>
</div>
</body>
</html>