Skip to content
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

ChildProcess::TimeoutError and "I run ..." #47

Closed
aroberts opened this issue Jan 25, 2011 · 2 comments
Closed

ChildProcess::TimeoutError and "I run ..." #47

aroberts opened this issue Jan 25, 2011 · 2 comments

Comments

@aroberts
Copy link

I run into this error sporadically when using the "I run" step:

And I run "melon -d test.db add test_file test_file_2" # aruba-0.3.2/lib/aruba/cucumber.rb:94
  process still alive after 1 seconds (ChildProcess::TimeoutError)
  features/edges.feature:9:in `And I run "melon -d test.db add test_file test_file_2"'

As far as I can tell from a little source diving, it looks like there's a hard-coded limit to how long Aruba will wait for a child process to quit, after it sends the quit signal. Googling really isn't telling me anything. Am I correct in interpreting this as aruba telling me that my child processes won't die for some reason? And, is there anything I can do?

@aroberts
Copy link
Author

From the front page of the site:

Set @aruba_timeout_seconds to control the amount of time Aruba will wait for a process to finish running before terminating it:

Before do
  @aruba_timeout_seconds = 5
end

This should obviously be closed.

@aslakhellesoy
Copy link
Contributor

Sometimes RTFM beats Google ;-)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants