Skip to content

Commit

Permalink
PAUSED: Use git resume to continue working.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Apr 6, 2022
1 parent 3241e0b commit 6510d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
6 changes: 1 addition & 5 deletions spec/failover_monitor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,7 @@ def active_databases_conninfo
context "private" do
describe "#database_in_recovery?" do
before do
begin
@connection = PG::Connection.open(:dbname => 'vmdb_test')
rescue PG::ConnectionBad
skip "travis database does not exist"
end
@connection = PG::Connection.open(:dbname => 'vmdb_test')
end

after do
Expand Down
7 changes: 1 addition & 6 deletions spec/server_store_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@
end

before do
begin
@connection = PG::Connection.open(:dbname => 'vmdb_test')
rescue PG::ConnectionBad
skip "travis database does not exist"
end

@connection = PG::Connection.open(:dbname => 'vmdb_test')
@connection.exec("START TRANSACTION")
@connection.exec("CREATE SCHEMA repmgr")
@connection.exec(<<-SQL)
Expand Down

0 comments on commit 6510d00

Please sign in to comment.