Tests broken on the first run?

(Attila Mihaly Balazs) #1


It seems that the build has been broken for some time (travis says that the last successful build was 4 days ago: Travis CI - Test and Deploy Your Code with Confidence).

However I found that the 2nd, 3rd, etc test run succeeds. Could someone more knowledgeable please look into the problem? The steps to reproduce are simple:

bundle install
bundle exec rake db:drop
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:test:prepare
bundle exec rake spec # <-- this fails
bundle exec rake spec # <-- this and all following ones succeed

(Sam Saffron) #2

Confirm there is an issue even in Ruby 2.0 , will have a look tomorrow.

(note I will also remove ruby 1.9 from travis so we can start trusting it)

(Sam Saffron) #3

This was very subtle issue, fixed now:

(Attila Mihaly Balazs) #4

It still fails for me with ruby 2.0.0p247, but given that it passes on Travis, I guest it is “my problem™” now :smile:

(Sam Saffron) #5

This topic was automatically closed after 1 day. New replies are no longer allowed.