Hi,

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)>

The code that attempts to make the connection is in lib/utils/misc.rb in 
the self.local_ip definition:

   UDPSocket.open do |s|
      s.connect('64.233.187.99', 1)
      s.addr.last
    end


Here's a gist of the full stack trace:  https://gist.github.com/3102984

Any ideas about how to work around this.  Depending on a network connection 
is not the greatest thing when running scenarios.

Thanks in advance for any help,

Chad

-- 
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