projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432f7af
)
3021: Do not drop/create API database at startup if run-tests.sh has done that for us.
author
Tom Clegg <tom@curoverse.com>
Fri, 16 Jan 2015 01:24:11 +0000
(20:24 -0500)
committer
Tom Clegg <tom@curoverse.com>
Fri, 16 Jan 2015 01:24:11 +0000
(20:24 -0500)
apps/workbench/test/test_helper.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/test/test_helper.rb
b/apps/workbench/test/test_helper.rb
index 2b480f9b3934813400a50850a46dd6367861f751..d469d16f0cc82a3ba53233bf85a4a0792672c4ad 100644
(file)
--- a/
apps/workbench/test/test_helper.rb
+++ b/
apps/workbench/test/test_helper.rb
@@
-160,8
+160,10
@@
class ApiServerForTests
'--pid-file', @pidfile)
else
make_ssl_cert
- _system('bundle', 'exec', 'rake', 'db:test:load')
- _system('bundle', 'exec', 'rake', 'db:fixtures:load')
+ if ENV['ARVADOS_TEST_API_INSTALLED'].blank?
+ _system('bundle', 'exec', 'rake', 'db:test:load')
+ _system('bundle', 'exec', 'rake', 'db:fixtures:load')
+ end
_system('bundle', 'exec', 'passenger', 'start', '-d', '-p3000',
'--pid-file', @pidfile,
'--ssl',