[Groonga-commit] groonga/gcs [master] Don't setup server twice

Back to archive index

SHIMODA Hiroshi null+****@clear*****
Wed Aug 15 17:09:13 JST 2012


SHIMODA Hiroshi	2012-08-15 17:09:13 +0900 (Wed, 15 Aug 2012)

  New Revision: 8afa39e72d8e0a4c15b60c5488dd3e9df141c4f8
  https://github.com/groonga/gcs/commit/8afa39e72d8e0a4c15b60c5488dd3e9df141c4f8

  Log:
    Don't setup server twice

  Modified files:
    test/api-configuration.test.js

  Modified: test/api-configuration.test.js (+5 -1)
===================================================================
--- test/api-configuration.test.js    2012-08-15 17:06:25 +0900 (abfdf29)
+++ test/api-configuration.test.js    2012-08-15 17:09:13 +0900 (cedcbff)
@@ -171,7 +171,11 @@ suite('Configuration API', function() {
   });
 
   suite('auto detection of the base hostname and port', function() {
-    setup(commonSetup);
+    setup(function() {
+      temporaryDatabase = utils.createTemporaryDatabase();
+      context = temporaryDatabase.get();
+    });
+
     teardown(commonTeardown);
 
     function assertBaseHost(baseHost, response) {
-------------- next part --------------
HTML����������������������������...
다운로드 



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