* more debugs in failing build server tests
This commit is contained in:
parent
7c16c5f915
commit
5e62890003
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue