Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 74438b7

Browse files
Getting rid of temporary DEBUG RSpec examples... Found the race condition!
Change-Id: I5f7768922e2061a06210fa14a8520128480d0849
1 parent 1eb525b commit 74438b7

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

‎spec/localhost/python_simplehttpserver_spec.rb

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ def image
6666
it { should be_file }
6767
end
6868

69-
describe command("ps auxww") do
70-
its(:stdout) { should match /just testing... debug processes/ }
71-
end
72-
73-
describe command("netstat -tunl") do
74-
its(:stdout) { should match /just testing... debug network/ }
75-
end
76-
7769
describe command("ps -o args= | grep python | grep -v grep | head -n1") do
7870
its(:stdout) { should match /-m SimpleHTTPServer 8080/ }
7971
end
@@ -91,22 +83,6 @@ def image
9183
Specinfra::Runner.send_file(File.join(File.dirname(__FILE__), '..', 'fixtures', 'helloworld.txt'), '/var/www/')
9284
end
9385

94-
describe command("ps auxww") do
95-
its(:stdout) { should match /just testing... debug processes/ }
96-
end
97-
98-
describe command("netstat -tunl") do
99-
its(:stdout) { should match /just testing... debug network/ }
100-
end
101-
102-
describe command("cat /etc/os-release") do
103-
its(:stdout) { should match /just testing... debug os-release/ }
104-
end
105-
106-
describe command("uname -a") do
107-
its(:stdout) { should match /just testing... debug uname/ }
108-
end
109-
11086
describe file('/var/www/helloworld.txt') do
11187
it { should be_file }
11288
end

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /