Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for if (0.15 sec)

  1. src/test/resources/run.sh

    #!/bin/bash
    
    touch $(ls -d ./fess-*/logs)/fess-crawler.log
    tail -f ./fess-*/logs/*.log &
    
    mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    ret=$?
    
    if [ $ret != 0 ] ; then
      for f in `find ./target -type f | grep surefire-reports | grep -v /TEST-` ; do
        cat $f
      done
    fi
    
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Feb 10 03:25:34 GMT 2024
    - 353 bytes
    - Viewed (0)
  2. src/test/resources/before_script.sh

    error_count=0
    while true ; do
      status=$(curl -w '%{http_code}\n' -s -o ${temp_json_file} "http://localhost:8080/api/v1/health")
      cat ${temp_json_file}
      if [[ x"${status}" = x200 ]] ; then
        break
      else
        error_count=$((error_count + 1))
      fi
      if [[ ${error_count} -ge 60 ]] ; then
        echo "Fess is not available."
        cat ${temp_log_file} ./fess-*/logs/*.log
        exit 1
      fi
      sleep 1
    done
    
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Feb 10 03:25:34 GMT 2024
    - 863 bytes
    - Viewed (0)
Back to top