beanstalk_integration_tests 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -92,16 +92,6 @@ class StatsTest < BeanstalkIntegrationTest
|
|
92
92
|
end
|
93
93
|
|
94
94
|
|
95
|
-
should 'return correct pid' do
|
96
|
-
%x[which pgrep]
|
97
|
-
skip('pgrep is required to determine possible pids') unless $CHILD_STATUS.success?
|
98
|
-
pids = %x[pgrep -f beanstalk].split
|
99
|
-
|
100
|
-
stats = client.transmit('stats')[:body]
|
101
|
-
assert(pids.include?(stats['pid'].to_s), 'Expected pids for processes with beanstalk in title to include beanstalk pid')
|
102
|
-
end
|
103
|
-
|
104
|
-
|
105
95
|
should 'return correct count of current-connections and total-connections' do
|
106
96
|
stats = client.transmit('stats')[:body]
|
107
97
|
initial_current_connections = stats['current-connections']
|