Browse code

have to set conn queue length in test.

git-svn: trunk@4949

Török Edvin authored on 2009/03/15 04:23:04
Showing 3 changed files
... ...
@@ -1,3 +1,8 @@
1
+Sat Mar 14 21:22:55 EET 2009 (edwin)
2
+------------------------------------
3
+ * unit_tests/check_clamd.c, unit_tests/test-clamd.conf: have to set
4
+ conn queue length in test.
5
+
1 6
 Sat Mar 14 18:43:42 EET 2009 (edwin)
2 7
 ------------------------------------
3 8
  * clamd/others.c: better detect half-shut vs. full-shutdown sockets
... ...
@@ -734,12 +734,10 @@ static Suite *test_clamd_suite(void)
734 734
     tcase_add_test(tc_stress, test_fildes_many);
735 735
     tcase_add_test(tc_stress, test_idsession_stress);
736 736
     tcase_add_test(tc_stress, test_fildes_unwanted);
737
-#ifndef C_BSD
738 737
     /* FreeBSD has a weirdness: connect() says connection refused on both
739 738
      * tcp/unix sockets, if I too quickly connect ~193 times.
740 739
      * Don't run this test on BSD for now */
741 740
     tcase_add_test(tc_stress, test_connections);
742
-#endif
743 741
     return s;
744 742
 }
745 743
 
... ...
@@ -16,3 +16,4 @@ DetectPUA yes
16 16
 ScanPDF yes
17 17
 CommandReadTimeout 1
18 18
 MaxQueue 800
19
+MaxConnectionQueueLength 1024