On Thu, Jul 12, 2012 at 11:02:50PM -0700, Chad wrote:
>
> We've been using cucumber to test our process definitions and participants.
>  However, we have noticed that without a net connection they fail to run.
>  It fails at the moment when we instantiate a engine with the following
> lines:
>
>   @engine =  Ruote::Engine.new(
>       Ruote::Worker.new(
>         Ruote::HashStorage.new()))
>
> It blows up when the new worker is instantiated, with the
> error: #<Errno::ENETUNREACH: Network is unreachable - connect(2)>
>
> (...)
>
> Any ideas about how to work around this.  Depending on a network connection
> is not the greatest thing when running scenarios.

Hello Chad,

does that commit help?

  
https://github.com/jmettraux/ruote/commit/5a9a42a10b91abbeb63e99adce7930f365d0b553

I verified that Errno::ENETUNREACH got intercepted by the rescue. I return
nil when local_ip cannot determine the address.

--
John Mettraux - http://lambda.io/jmettraux

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to