[Groonga-commit] droonga/express-droonga at 1e09bf1 [master] Update testcase including "timeout" option: now the timeout is specified in seconds, not milliseconds.

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 21 10:06:04 JST 2015


YUKI Hiroshi	2015-04-21 10:06:04 +0900 (Tue, 21 Apr 2015)

  New Revision: 1e09bf1656324a6193d96f3771e163065a834699
  https://github.com/droonga/express-droonga/commit/1e09bf1656324a6193d96f3771e163065a834699

  Message:
    Update testcase including "timeout" option: now the timeout is specified in seconds, not milliseconds.

  Modified files:
    test/droonga-protocol/connection.test.js

  Modified: test/droonga-protocol/connection.test.js (+1 -1)
===================================================================
--- test/droonga-protocol/connection.test.js    2015-04-21 10:05:46 +0900 (aecc887)
+++ test/droonga-protocol/connection.test.js    2015-04-21 10:06:04 +0900 (7659b94)
@@ -401,7 +401,7 @@ suite('Connection', function() {
           var message = connection.emitMessage('timed out',
                                                Math.random(),
                                                callback,
-                                               { timeout: 20 });
+                                               { timeout: 0.02 });
           callback.takes(Connection.ERROR_GATEWAY_TIMEOUT, null);
 
           utils.wait(0.01)
-------------- next part --------------
HTML����������������������������...
Descargar 



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