Skip to content

Commit 0e09aba

Browse files
committed
(maint) Fix acceptance test error
1 parent cfdc6e2 commit 0e09aba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/acceptance/basic_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ class { 'puppetdb::master::config':
9191
apply_manifest(pp, catch_errors: true)
9292
apply_manifest(pp, catch_changes: true)
9393

94-
shell('psql "postgresql://puppetdb-read:puppetdb-read@localhost/puppetdb" -c "create table tables(id int);"') do |r|
95-
expect(r.stdout).to match(%r{^ERROR: permission denied for schema public.*})
94+
shell('psql "postgresql://puppetdb-read:puppetdb-read@localhost/puppetdb" -c "create table tables(id int)" || true') do |r|
95+
expect(r.stderr).to match(%r{^ERROR: permission denied for schema public.*})
9696
end
9797
end
9898
end

0 commit comments

Comments
 (0)