[Groonga-commit] droonga/express-droonga at dc7da33 [master] Quicken

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Mar 20 18:41:34 JST 2014


YUKI Hiroshi	2014-03-20 18:41:34 +0900 (Thu, 20 Mar 2014)

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

  Message:
    Quicken

  Modified files:
    test/response-cache/middleware.test.js

  Modified: test/response-cache/middleware.test.js (+4 -4)
===================================================================
--- test/response-cache/middleware.test.js    2014-03-20 18:40:46 +0900 (342986d)
+++ test/response-cache/middleware.test.js    2014-03-20 18:41:34 +0900 (883cffb)
@@ -276,7 +276,7 @@ suite('Response Cache Middleware', function() {
     test('expired by global TTL', function(done) {
       application = express();
       application.use(middleware({
-        ttlInMilliSeconds: 300,
+        ttlInMilliSeconds: 10,
         rules: [
           { regex: /cached/ }
         ]
@@ -301,7 +301,7 @@ suite('Response Cache Middleware', function() {
                 else
                   assertNotCached(response, done);
               });
-          }, 600);
+          }, 50);
         });
     });
 
@@ -309,7 +309,7 @@ suite('Response Cache Middleware', function() {
       application = express();
       application.use(middleware({
         rules: [
-          { regex: /cached/, ttlInMilliSeconds: 300 }
+          { regex: /cached/, ttlInMilliSeconds: 10 }
         ]
       }));
       application.get('/cached/expired', function(request, response){
@@ -332,7 +332,7 @@ suite('Response Cache Middleware', function() {
                 else
                   assertNotCached(response, done);
               });
-          }, 600);
+          }, 50);
         });
     });
   });
-------------- next part --------------
HTML����������������������������...
Download 



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