small fixes for LB tests
authorGianni Pucciani <Gianni.Pucciani@cern.ch>
Thu, 9 Oct 2008 07:53:49 +0000 (07:53 +0000)
committerGianni Pucciani <Gianni.Pucciani@cern.ch>
Thu, 9 Oct 2008 07:53:49 +0000 (07:53 +0000)
org.glite.testsuites.ctb/LB/LB-certconfig
org.glite.testsuites.ctb/LB/LB-certtest.sh
org.glite.testsuites.ctb/LB/tests/lb-test-job-registration.sh

index df363ef..2cee273 100644 (file)
@@ -3,6 +3,8 @@
 #LB hostname
 LB_HOST="lxbra2303.cern.ch"
 
-#hostname:port
+#address of the glite-lb-bkserver daemon host:port
 export GLITE_WMS_QUERY_SERVER="lxbra2303.cern.ch:9000"
 
+#address of the glite-lb-logd daemon host:port
+export GLITE_WMS_LOG_DESTINATION="lxbra2303.cern.ch:9002"
index f18a96f..837ee01 100755 (executable)
@@ -76,20 +76,20 @@ echo "------------------------------------------------"
 # Checking if there is valid proxy #
 ####################################
 
-ProxyExist=`voms-proxy-info 2>/dev/null | grep timeleft | wc -l`
+#ProxyExist=`voms-proxy-info 2>/dev/null | grep timeleft | wc -l`
 
-ProxyExpired=`voms-proxy-info 2>/dev/null | grep  "timeleft  : 0:00:00" | wc -l`
+#ProxyExpired=`voms-proxy-info 2>/dev/null | grep  "timeleft  : 0:00:00" | wc -l`
 
-if [ $ProxyExist -gt 0 -a $ProxyExpired -eq 0 ]; then
+#if [ $ProxyExist -gt 0 -a $ProxyExpired -eq 0 ]; then
   #nop
   :
-else
-  echo "Valid proxy is needed for this test!"
-  if [ $ProxyExpired -gt 0 ]; then
-    echo "Proxy credential expired!"
-  fi
-  exitFailure
-fi
+#else
+#  echo "Valid proxy is needed for this test!"
+#  if [ $ProxyExpired -gt 0 ]; then
+#    echo "Proxy credential expired!"
+#  fi
+#  exitFailure
+#fi
 
 ########################
 # Launch all the tests #
index 2aea5db..05d4829 100755 (executable)
@@ -71,6 +71,7 @@ DEBUG=2
 {
 test_start
 
+
 # check_binaries
 printf "Testing if all binaries are available"
 check_binaries $GRIDPROXYINFO $SYS_GREP $SYS_SED $SYS_AWK