Yoji SHIDARA
null+****@clear*****
Wed Oct 24 18:35:26 JST 2012
Yoji SHIDARA 2012-10-24 18:35:26 +0900 (Wed, 24 Oct 2012) New Revision: c272f86a5657e1a8d21c378606713e5444a06993 https://github.com/groonga/gcs-console/commit/c272f86a5657e1a8d21c378606713e5444a06993 Log: Hook should be set at least one server is started Modified files: test/test-utils.js Modified: test/test-utils.js (+3 -3) =================================================================== --- test/test-utils.js 2012-10-24 18:34:55 +0900 (18ecdb2) +++ test/test-utils.js 2012-10-24 18:35:26 +0900 (84f3022) @@ -50,13 +50,13 @@ Target.prototype = { mkdirp.sync(self.databaseDir); self.gcs = runServer(self.gcsPath, gcsOptions, function() { + process.on('exit', function() { + self.teardown(); + }); self.gcsConsole = runServer( self.gcsConsolePath, gcsConsoleOptions, function() { - process.on('exit', function() { - self.teardown(); - }); done(); } ) -------------- next part -------------- HTML����������������������������...Download