Skip to content

Commit ade591c

Browse files
authored
Merge pull request #11 from tomharvey/issue_10
filtering the grep process from the process checking test
2 parents 8ef7cb0 + d17d73b commit ade591c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/aws-codedeploy-agent/serverspec/default_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
it { should be_enabled }
77
end
88

9-
describe command('ps -ax | grep "codedeploy-agent: InstanceAgent"') do
9+
describe command('ps -ax | grep "codedeploy-agent: InstanceAgent" | grep -v grep') do
1010
its(:stdout) { should match /codedeploy-agent: InstanceAgent/ }
1111
end

0 commit comments

Comments
 (0)