-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #14752 - only add index once in features migration #175
Conversation
Index was getting added twice on label in Rails 4.2, which resulted in:
|
APJ |
Please note that the tests may appear to be passing, but a failure loading your tests is being ignored - probably due to the way the task is enhanced. (If you fix this somehow, please fix it also in the plugin template.) /var/lib/workspace/workspace/test_plugin_pull_request/database/postgresql/label/fast/ruby/1.9.3/plugin/test/test_plugin_helper.rb:11:in `': uninitialized constant DatabaseCleaner (NameError) from /var/lib/workspace/workspace/test_plugin_pull_request/database/postgresql/label/fast/ruby/1.9.3/plugin/test/functional/api/v2/foreign_input_sets_controller_test.rb:1:in `require' from /var/lib/workspace/workspace/test_plugin_pull_request/database/postgresql/label/fast/ruby/1.9.3/plugin/test/functional/api/v2/foreign_input_sets_controller_test.rb:1:in `' from /usr/local/rvm/gems/ruby-1.9.3-p392@test_plugin_pull_request-0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:10:in `require' from /usr/local/rvm/gems/ruby-1.9.3-p392@test_plugin_pull_request-0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in ' from /usr/local/rvm/gems/ruby-1.9.3-p392@test_plugin_pull_request-0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:9:in `each' from /usr/local/rvm/gems/ruby-1.9.3-p392@test_plugin_pull_request-0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:9:in `block in ' from /usr/local/rvm/gems/ruby-1.9.3-p392@test_plugin_pull_request-0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:4:in `select' from /usr/local/rvm/gems/ruby-1.9.3-p392@test_plugin_pull_request-0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:4:in `' -- execute("SET CONSTRAINTS ALL DEFERRED;") -> 0.0021s rake aborted! |
@domcleal Well we can require database_cleaner directly, and that should fix this problem. Not sure how to fix jenkins ignoring the failure though... |
Hmph, I wonder how long tests really haven't been running.
|
Oh, all kinds of test failures now that they're actually running 😢 |
The change at theforeman/foreman_plugin_template#14 should do it. |
Fixes #13787 - Do not reopen task details on autorefresh
Not intending this one to get merged, just opened for running tests. Really should be part of #173Nevermind, we can use this PR to get tests going again.