projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
8703: add "components" hash to job.
[arvados.git]
/
services
/
api
/
app
/
controllers
/
database_controller.rb
diff --git
a/services/api/app/controllers/database_controller.rb
b/services/api/app/controllers/database_controller.rb
index 04c0e79d6cb940545d530ca7e57fe5b2da791e51..21c8e4710cb5e62dbe224a6034c68ea1bd40b05e 100644
(file)
--- a/
services/api/app/controllers/database_controller.rb
+++ b/
services/api/app/controllers/database_controller.rb
@@
-29,6
+29,10
@@
class DatabaseController < ApplicationController
fixturesets = Dir.glob(Rails.root.join('test', 'fixtures', '*.yml')).
collect { |yml| yml.match(/([^\/]*)\.yml$/)[1] }
fixturesets = Dir.glob(Rails.root.join('test', 'fixtures', '*.yml')).
collect { |yml| yml.match(/([^\/]*)\.yml$/)[1] }
+ # Don't reset keep_services: clients need to discover our
+ # integration-testing keepstores, not test fixtures.
+ fixturesets -= %w[keep_services]
+
table_names = '"' + ActiveRecord::Base.connection.tables.join('","') + '"'
attempts_left = 20
table_names = '"' + ActiveRecord::Base.connection.tables.join('","') + '"'
attempts_left = 20
@@
-68,6
+72,6
@@
class DatabaseController < ApplicationController
end
# Done.
end
# Done.
- render json: {success: true}
+ send_json success: true
end
end
end
end