Browse files

Cleans up after debugging

  • Loading branch information...
1 parent 51b6b92 commit bb743ffd75b6c64efc7d5c774505dd057bccab81 @alindeman alindeman committed Nov 26, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −3 ci/travis.sh
  2. +0 −1 sunspot/lib/sunspot/indexer.rb
View
4 ci/travis.sh
@@ -4,7 +4,7 @@ set -e
solr_responding() {
port=$1
- curl "http://localhost:$port/solr/admin/ping"
+ curl -o /dev/null "http://localhost:$port/solr/admin/ping" > /dev/null 2>&1
}
wait_until_solr_responds() {
@@ -13,8 +13,6 @@ wait_until_solr_responds() {
/bin/echo -n "."
sleep 1
done
-
- sleep 3 # extra buffer?
}
case $GEM in
View
1 sunspot/lib/sunspot/indexer.rb
@@ -51,7 +51,6 @@ def remove_by_id(class_name, *ids)
# Delete all documents of the class indexed by this indexer from Solr.
#
def remove_all(clazz = nil)
- p @connection
if clazz
@connection.delete_by_query("type:#{escape(clazz.name)}")
else

0 comments on commit bb743ff

Please sign in to comment.