test/setup.rb in interlock-1.0 vs test/setup.rb in interlock-1.1
- old
+ new
@@ -1,8 +1,13 @@
# Setup integration system for the integration suite
Dir.chdir "#{File.dirname(__FILE__)}/integration/app/" do
+
+ `ps awx`.split("\n").grep(/4304[1-3]/).map do |process|
+ system("kill -9 #{process.to_i}")
+ end
+
system "memcached -p 43042 &"
system "memcached -p 43043 &"
Dir.chdir "vendor/plugins" do
system "rm interlock; ln -s ../../../../../ interlock"