Skip to content

Commit ca0476b

Browse files
authored
Merge pull request #686 from jeltz/spec-rm-sleep
Remove unnecessary sleep after pg_ctl start in test suite
2 parents ad47e3d + abe8f07 commit ca0476b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

spec/helpers.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ def initialize( name, port: 23456, postgresql_conf: '' )
309309
sopt += " -k #{@test_dir.to_s.dump}" unless RUBY_PLATFORM=~/mingw|mswin/i
310310
log_and_run @logfile, pg_bin_path('pg_ctl'), '-w', '-o', sopt,
311311
'-D', @pgdata.to_s, 'start'
312-
sleep 2
313312

314313
td = @pgdata
315314
@conninfo = "host=localhost port=#{@port} dbname=test sslrootcert=#{td + 'ruby-pg-ca-cert'} sslcert=#{td + 'ruby-pg-client-cert'} sslkey=#{td + 'ruby-pg-client-key'}"

0 commit comments

Comments
 (0)