Author: stsp
Date: Mon Aug  8 10:32:54 2011
New Revision: 1154908

URL: http://svn.apache.org/viewvc?rev=1154908&view=rev
Log:
* subversion/bindings/swig/ruby/test/util.rb
  (setup_svnserve): Wait more time for svnserve to gets its marbles together.
    I've started getting spurious test failures in the ruby bindings again
    because of 'connection refused to 127.0.0.1' errors. I've tried various
    increments (0.2, 0.5, 1), and waiting for an entire second seemed to be
    the only way of producing solid results. This increases run time of
    the ruby tests quite a bit. But it is still dwarfed by the overall run
    time of the test suite so I hope this is acceptable.

Modified:
    subversion/trunk/subversion/bindings/swig/ruby/test/util.rb

Modified: subversion/trunk/subversion/bindings/swig/ruby/test/util.rb
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/ruby/test/util.rb?rev=1154908&r1=1154907&r2=1154908&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/ruby/test/util.rb (original)
+++ subversion/trunk/subversion/bindings/swig/ruby/test/util.rb Mon Aug  8 
10:32:54 2011
@@ -262,7 +262,7 @@ realm = #{@realm}
             "svn://#{@svnserve_host}:#{@svnserve_port}#{@full_repos_path}"
           # Avoid a race by waiting a short time for svnserve to start up.
           # Without this, tests can fail with "Connection refused" errors.
-          sleep 0.1
+          sleep 1
           break
         end
       end


Reply via email to