Actions
Bug #21318
openItermittent test failures in jenkins: ActiveRecord::NoEnvironmentInSchemaError: in plugins jenkins PRs
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
I've started noticing error when bundle exec rake db:drop
call happended
ActiveRecord::NoEnvironmentInSchemaError: Environment data not found in the schema. To resolve this issue, run: bin/rails db:environment:set RAILS_ENV=development
Updated by Ivan Necas over 7 years ago
- Subject changed from Itermittent test failures in jenkins: ActiveRecord::NoEnvironmentInSchemaError: to Itermittent test failures in jenkins: ActiveRecord::NoEnvironmentInSchemaError: in plugins jenkins PRs
Interesting thing is that I have started seeing this as intermittent failures, so it doesn't seem to be 100% reproducible.
In foreman tests, we have, which I suppose prevents this errors to happen there
bundle exec rake db:drop DISABLE_DATABASE_ENVIRONMENT_CHECK=true
Actions