Skip to content

Commit

Permalink
[186049138] Testing the existance of PG server and client
Browse files Browse the repository at this point in the history
  • Loading branch information
dark5un committed Nov 30, 2023
1 parent cc88509 commit f2ae0bd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cf-acceptance-tests/cf-acceptance-tests_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@
).to eq(0)
end

it "has psql available" do
expect(
command("psql --version").exit_status
).to eq(0)
end

it "can start postgresql" do
expect(Pathname.new('/usr/bin/pg_ctlcluster')).to exist
end

it "has the CF_PLUGIN_HOME variable set" do
expect(
command("env").stdout
Expand Down

0 comments on commit f2ae0bd

Please sign in to comment.