pgbouncer_spec failing in `master`
$ bundle exec rspec spec/chef/gitlab-ee/recipes/pgbouncer_spec.rb
Platform mac_os_x 10.11.4 not supported. Falling back to ubuntu 14.04
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
...........F..........
Failures:
1) gitlab-ee::pgbouncer when enabled pgbouncer.ini template changes reloads pgbouncer if pgbouncer is already running
Failure/Error: expect(template).to notify('execute[generate databases.ini]').to(:run).immediately
expected "template[/var/opt/gitlab/pgbouncer/pgbouncer.ini]" to notify "execute[generate databases.ini]" with action :run immediately, but did not.
Other notifications were:
"template[/var/opt/gitlab/pgbouncer/pgbouncer.ini]" notifies "execute[reload pgbouncer]" to :run, :immediately
"template[/var/opt/gitlab/pgbouncer/pgbouncer.ini]" notifies "execute[start pgbouncer]" to :run, :immediately
# ./spec/chef/gitlab-ee/recipes/pgbouncer_spec.rb:96:in `block (4 levels) in <top (required)>'
Finished in 54.01 seconds (files took 2.63 seconds to load)
22 examples, 1 failure
Failed examples:
rspec ./spec/chef/gitlab-ee/recipes/pgbouncer_spec.rb:93 # gitlab-ee::pgbouncer when enabled pgbouncer.ini template changes reloads pgbouncer if pgbouncer is already running
/cc: @ibaum