[Groonga-commit] groonga/express-droonga at 02567de [master] test: add debug logs

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jul 21 17:00:07 JST 2013


Kouhei Sutou	2013-07-21 17:00:07 +0900 (Sun, 21 Jul 2013)

  New Revision: 02567de201745f0ba86e007d32cc6b636c6d2316
  https://github.com/groonga/express-droonga/commit/02567de201745f0ba86e007d32cc6b636c6d2316

  Message:
    test: add debug logs

  Modified files:
    test/test-utils.js

  Modified: test/test-utils.js (+2 -0)
===================================================================
--- test/test-utils.js    2013-07-21 16:59:47 +0900 (ed282cd)
+++ test/test-utils.js    2013-07-21 17:00:07 +0900 (23399d6)
@@ -1,3 +1,4 @@
+var debug = require('../lib/debug');
 var assert = require('chai').assert;
 var nodemock = require('nodemock');
 var net = require('net');
@@ -237,6 +238,7 @@ function createBackend() {
 
   backend.received = [];
   backend.on('receive', function(data) {
+    debug('test-utils.createBackend.receive %d', backend._id);
     backend.received.push(data);
     if (backend.reservedResponses.length > 0) {
       var response = backend.reservedResponses.shift();
-------------- next part --------------
HTML����������������������������...
Download 



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