We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa7996f commit 2150919Copy full SHA for 2150919
controls/postgres_spec.rb
@@ -99,12 +99,12 @@
99
desc 'Only one postgresql database instance must be running on an operating system instance (both physical HW or virtualized).'
100
case os[:name]
101
when 'redhat', 'centos', 'oracle', 'fedora'
102
- describe command('ps aux | awk /\'bin\/postmaster\'/ | wc -l') do
103
- its('stdout') { should include '1' }
+ describe processes('bin/postmaster') do
+ its('entries.length') { should eq 1 }
104
end
105
when 'debian', 'ubuntu'
106
- describe command('ps aux | awk /\'bin\/postgres\'/ | wc -l') do
107
+ describe processes('bin/postgres') do
108
109
110
0 commit comments