gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 10/31: test_https_get_parallel{,_threads}: removed artif


From: gnunet
Subject: [libmicrohttpd] 10/31: test_https_get_parallel{,_threads}: removed artificial delay
Date: Mon, 10 Oct 2022 13:00:55 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 4237407f817a7ff463fca73da3bbc76947d03a53
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Oct 5 13:37:20 2022 +0300

    test_https_get_parallel{,_threads}: removed artificial delay
---
 src/testcurl/https/test_https_get_parallel.c         | 2 --
 src/testcurl/https/test_https_get_parallel_threads.c | 2 --
 2 files changed, 4 deletions(-)

diff --git a/src/testcurl/https/test_https_get_parallel.c 
b/src/testcurl/https/test_https_get_parallel.c
index 4e83bbf2..888b2f7c 100644
--- a/src/testcurl/https/test_https_get_parallel.c
+++ b/src/testcurl/https/test_https_get_parallel.c
@@ -56,8 +56,6 @@ https_transfer_thread_adapter (void *args)
   struct https_test_data *cargs = args;
   unsigned int ret;
 
-  /* time spread incoming requests */
-  usleep ((useconds_t) 10.0 * ((double) rand ()) / ((double) RAND_MAX));
   ret = test_https_transfer (NULL, cargs->port,
                              cargs->cipher_suite, cargs->proto_version);
   if (ret == 0)
diff --git a/src/testcurl/https/test_https_get_parallel_threads.c 
b/src/testcurl/https/test_https_get_parallel_threads.c
index 4ff57044..2da6ed9e 100644
--- a/src/testcurl/https/test_https_get_parallel_threads.c
+++ b/src/testcurl/https/test_https_get_parallel_threads.c
@@ -57,8 +57,6 @@ https_transfer_thread_adapter (void *args)
   struct https_test_data *cargs = args;
   unsigned int ret;
 
-  /* time spread incoming requests */
-  usleep ((useconds_t) 10.0 * ((double) rand ()) / ((double) RAND_MAX));
   ret = test_https_transfer (cargs->cls, cargs->port,
                              cargs->cipher_suite, cargs->proto_version);
   if (ret == 0)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]