null+****@clear*****
null+****@clear*****
2012年 6月 6日 (水) 17:39:48 JST
Haruka Yoshihara 2012-06-06 17:39:48 +0900 (Wed, 06 Jun 2012)
New Revision: 116344aafdf5a7d297ed6a09a76ac356aef37764
Log:
Wait until groonga is shutdown
Modified files:
lib/groonga/tester.rb
Modified: lib/groonga/tester.rb (+3 -0)
===================================================================
--- lib/groonga/tester.rb 2012-06-06 17:34:08 +0900 (3a8e80b)
+++ lib/groonga/tester.rb 2012-06-06 17:39:48 +0900 (c9e1ad2)
@@ -338,6 +338,9 @@ module Groonga
executor.send_command("shutdown")
rescue SystemCallError
end
+ while File.exist?(pid_file.path)
+ sleep(0.1)
+ end
end
end