Tagging module vsys - vsys-0.7-18
[vsys.git] / tests / vsys_conctest.c
index 35f7c2d..2d174a0 100644 (file)
@@ -20,7 +20,7 @@ int main()
   int count = 1;
   struct timeval tv={.tv_sec=5,.tv_usec=0};
 
-  while (count < 100000) {
+  while (count < 1000000) {
     fd_set readSet;
     int res;
     int nlines=0;
@@ -35,9 +35,8 @@ int main()
     //printf("((0))");fflush(stdout);
     while ((fd_in = open(top_in_file, O_WRONLY| O_NONBLOCK)) < 0) {
       fprintf(stderr, "Waiting for %s (%s)\n", top_in_file,strerror(errno));
-       sleep (1); 
+       usleep (50); 
     }
-    printf("%d open\n",fd_in);
 
     //printf("(1)");
     if ((flag = fcntl(fd_out, F_GETFL)) == -1) {