diff options
author | danielsdeleo <dan@opscode.com> | 2013-01-22 08:01:47 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-01-22 08:01:47 -0800 |
commit | 6968fbec3b2fcc448ffcb5c69d732bdf56b48fb6 (patch) | |
tree | 822f63d19f5f77624e81768fe4f44dc5cd9f79be /spec/functional/shell_spec.rb | |
parent | cb1156b1c66be902dac90ed58bc8a5f4204991c7 (diff) | |
download | chef-6968fbec3b2fcc448ffcb5c69d732bdf56b48fb6.tar.gz |
bump chef-shell func. test read timeout to 30s
ohai is just slow on some platforms like solaris
Diffstat (limited to 'spec/functional/shell_spec.rb')
-rw-r--r-- | spec/functional/shell_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/shell_spec.rb b/spec/functional/shell_spec.rb index 870e98ee58..649ee9c069 100644 --- a/spec/functional/shell_spec.rb +++ b/spec/functional/shell_spec.rb @@ -33,9 +33,9 @@ describe Chef::Shell do begin buffer << io.read_nonblock(1) rescue Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::EIO, EOFError - sleep 0.001 + sleep 0.01 end - if Time.new - start > 15 + if Time.new - start > 30 STDERR.puts "did not read expected value `#{expected_value}' within 15s" STDERR.puts "Buffer so far: `#{buffer}'" break |