[Groonga-commit] droonga/drntest at 28096a6 [master] Actual may be nil when no response received

Back to archive index

Yoji Shidara null+****@clear*****
Wed Sep 18 16:06:40 JST 2013


Yoji Shidara	2013-09-18 16:06:40 +0900 (Wed, 18 Sep 2013)

  New Revision: 28096a69df7f2e8f0534707ccad33437e9df7601
  https://github.com/droonga/drntest/commit/28096a69df7f2e8f0534707ccad33437e9df7601

  Message:
    Actual may be nil when no response received

  Modified files:
    lib/drntest/tester.rb

  Modified: lib/drntest/tester.rb (+4 -0)
===================================================================
--- lib/drntest/tester.rb    2013-09-11 16:09:18 +0900 (1264142)
+++ lib/drntest/tester.rb    2013-09-18 16:06:40 +0900 (094fe60)
@@ -65,6 +65,10 @@ module Drntest
 
       print "#{target}: "
       actual = client.connection.send_receive(envelope)
+      unless actual
+        puts "No response received"
+        return
+      end
       actual[1] = 0 # Mask start time
       actual_json = actual.to_json
       File.write(actual_path, actual_json)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index