diff options
author | elijah <elijah@riseup.net> | 2014-12-14 18:56:14 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-12-14 18:56:14 -0800 |
commit | 97c460cd1133c18fd82a649253db755a38bea0ed (patch) | |
tree | e06e7c7faef7ce9e327f2b3031122bd47df5a241 /test | |
parent | 92db2c6e6210a860a4de4baf8033428fbe72b7cc (diff) |
try to create the db many times until it exists
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/actions_test.rb | 1 | ||||
-rw-r--r-- | test/support/tapicero_process.rb | 2 | ||||
-rw-r--r-- | test/test_helper.rb | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/test/integration/actions_test.rb b/test/integration/actions_test.rb index f3d3faa..a975e0b 100644 --- a/test/integration/actions_test.rb +++ b/test/integration/actions_test.rb @@ -5,6 +5,7 @@ class ActionsTest < Tapicero::IntegrationTest def setup TapiceroProcess.run_with_config("test/config.yaml") create_user + sleep 0.1 end def teardown diff --git a/test/support/tapicero_process.rb b/test/support/tapicero_process.rb index fdfb37d..ab246dd 100644 --- a/test/support/tapicero_process.rb +++ b/test/support/tapicero_process.rb @@ -24,7 +24,7 @@ module TapiceroProcess puts "bin/tapicero run -- '#{config_path}'" exec "bin/tapicero run -- '#{config_path}'" else - exec "bin/tapicero run -- '#{config_path}' > /dev/null 2>&1" + exec "bin/tapicero run -- '#{config_path}' > /dev/null | grep -v ^tapicero:" end end Process.detach(other_process) diff --git a/test/test_helper.rb b/test/test_helper.rb index ec42f41..31eaa2b 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -33,3 +33,6 @@ MiniTest.after_run { TapiceroProcess.kill! } +puts +puts " REMINDER: check /tmp/tapicero.log for errors" +puts
\ No newline at end of file |