From 97c460cd1133c18fd82a649253db755a38bea0ed Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 14 Dec 2014 18:56:14 -0800 Subject: try to create the db many times until it exists --- test/integration/actions_test.rb | 1 + test/support/tapicero_process.rb | 2 +- test/test_helper.rb | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3