* more debugs in failing build server tests

This commit is contained in:
Seth Call 2014-04-11 02:58:31 +00:00
parent 7c16c5f915
commit 5e62890003
3 changed files with 7 additions and 1 deletions

View File

View File

View File

@ -51,7 +51,7 @@ tests_started = false
Thread.new {
sleep 60
sleep 240
unless tests_started
bputs "tests are hung. exiting..."
puts "tests are hung. exiting..."
@ -94,7 +94,13 @@ ActiveRecord::Base.establish_connection(YAML::load(File.open('config/database.ym
# need to restart spork for it take effect.
# This file is copied to spec/ when you run 'rails generate rspec:install'
bputs "before load environment"
begin
require File.expand_path("../../config/environment", __FILE__)
rescue => e
bputs "exception in load environment"
bputs "e: #{e}"
end
bputs "before loading rails"
require 'rspec/rails'
bputs "before connection autorun"