<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -51,6 +51,10 @@ describe Ohai::System, &quot;plugin ec2&quot; do
     end
 
     it &quot;should recursively fetch all the ec2 metadata&quot; do
+      IO.stub!(:select).and_return([[],[1],[]])
+      t = mock(&quot;connection&quot;)
+      t.stub!(:connect_nonblock).and_raise(Errno::EINPROGRESS)
+      Socket.stub!(:new).and_return(t)
       @ohai._require_plugin(&quot;ec2&quot;)
       @ohai[:ec2].should_not be_nil
       @ohai[:ec2]['instance_type'].should == &quot;c1.medium&quot;</diff>
      <filename>spec/ohai/plugins/ec2_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c020567ffa3754ee908616b6c5077b7b6af88f50</id>
    </parent>
  </parents>
  <author>
    <name>caryp</name>
    <email>cary@rightscale.com</email>
  </author>
  <url>http://github.com/opscode/ohai/commit/aa366ec1ed660467e6e02e7fbcfed74642056928</url>
  <id>aa366ec1ed660467e6e02e7fbcfed74642056928</id>
  <committed-date>2009-10-06T04:27:44-07:00</committed-date>
  <authored-date>2009-07-21T12:08:34-07:00</authored-date>
  <message>OHAI-107: modifed ec2_spec to pass when no network is connected</message>
  <tree>87c0d39cad6b8cb399d7de95b7f10ba95711f556</tree>
  <committer>
    <name>AJ Christensen</name>
    <email>aj@junglist.gen.nz</email>
  </committer>
</commit>
