• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Révisionf6375a7b3891b45c2c8e445bbc1f8a838b6228c2 (tree)
l'heure2011-04-29 01:02:28
AuteurDave Brondsema <dbrondsema@geek...>
CommiterDave Brondsema

Message de Log

remove unused solr bootstrap from run_tests

Signed-off-by: Dave Brondsema <dbrondsema@geek.net>

Change Summary

Modification

--- a/run_tests
+++ b/run_tests
@@ -1,25 +1,9 @@
11 #!/bin/bash
22
3-function check_port() {
4- PORT=$1
5- echo 'quit' |telnet localhost $PORT >/dev/null 2>&1
6-}
7-
8-if [ -z "$VIRTUAL_ENV" ]; then
9- source /var/local/env-allura/bin/activate
10-fi
11-
12-# If this is sandbox and local SOLR isn't running, start it
133 if [ -n "$SF_SYSTEM_FUNC" ]; then
14- if ! check_port 50065; then
15- SOLRCONFIG="/var/local/allura/solr_config"
16- SOLRLOG=/usr/local/solr/logs/console.log
17- echo "Starting SOLR, log is at $SOLRLOG"
18- pushd /usr/local/solr
19- /usr/java/jdk1.5.0_15/bin/java -Dsolr.solr.home="$SOLRCONFIG" -jar start.jar >$SOLRLOG 2>&1 &
20- popd
21- sleep 15
22- fi
4+ if [ -z "$VIRTUAL_ENV" ]; then
5+ source /var/local/env-allura/bin/activate
6+ fi
237 fi
248
259 # main