don't delay so long while waiting for daemon startup
authorKen Raeburn <raeburn@mit.edu>
Mon, 2 Feb 2009 18:29:28 +0000 (18:29 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 2 Feb 2009 18:29:28 +0000 (18:29 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21865 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/testing/scripts/start_servers_local

index b787b57e3f788d2876a560c53f5d4dead27d2eaa..5c1df4c2652a9579f7d8b1b88ba8f8471ea0deee 100755 (executable)
@@ -132,7 +132,7 @@ kdc_args="-R dfl:kdc_rcache.$USER"
 (trap "" 2; cd $TOP/../kdc; ./krb5kdc $kdc_args; touch $kdc_start_file) \
        < /dev/null > $usrtmp/kdc-log.$USER 2>&1 &
 
-s=10
+s=1
 max_s=60
 sofar_s=0
 timewait_s=300
@@ -140,7 +140,7 @@ timewait_s=300
 while true; do
        rm -f $adm_start_file
 
-       (sleep 5; cd $TOP/server; ./kadmind $ovadm_args; \
+       (sleep 1; cd $TOP/server; ./kadmind $ovadm_args; \
                touch $adm_start_file) < /dev/null > $usrtmp/kadm-log.$USER 2>&1 &
 
        # wait until they start