have to set conn queue length in test.

git-svn: trunk@4949
remotes/push_mirror/0.95
Török Edvin 16 years ago
parent c9954509cc
commit e4565ad5df
  1. 5
      ChangeLog
  2. 2
      unit_tests/check_clamd.c
  3. 1
      unit_tests/test-clamd.conf

@ -1,3 +1,8 @@
Sat Mar 14 21:22:55 EET 2009 (edwin)
------------------------------------
* unit_tests/check_clamd.c, unit_tests/test-clamd.conf: have to set
conn queue length in test.
Sat Mar 14 18:43:42 EET 2009 (edwin)
------------------------------------
* clamd/others.c: better detect half-shut vs. full-shutdown sockets

@ -734,12 +734,10 @@ static Suite *test_clamd_suite(void)
tcase_add_test(tc_stress, test_fildes_many);
tcase_add_test(tc_stress, test_idsession_stress);
tcase_add_test(tc_stress, test_fildes_unwanted);
#ifndef C_BSD
/* FreeBSD has a weirdness: connect() says connection refused on both
* tcp/unix sockets, if I too quickly connect ~193 times.
* Don't run this test on BSD for now */
tcase_add_test(tc_stress, test_connections);
#endif
return s;
}

@ -16,3 +16,4 @@ DetectPUA yes
ScanPDF yes
CommandReadTimeout 1
MaxQueue 800
MaxConnectionQueueLength 1024

Loading…
Cancel
Save