Add some REST api tests

This commit is contained in:
Girish Ramakrishnan
2016-06-01 16:31:47 -07:00
parent 47978436c2
commit b13de298bf
2 changed files with 90 additions and 1 deletions

View File

@@ -195,7 +195,8 @@ function initializeExpressSync() {
router.post('/api/v1/backups', settingsScope, routes.user.requireAdmin, routes.backups.create);
router.get ('/api/v1/backups/:backupId', appsScope, routes.user.requireAdmin, routes.backups.download);
// disable server timeout. we use the timeout middleware to handle timeouts on a route level
// disable server socket "idle" timeout. we use the timeout middleware to handle timeouts on a route level
// we rely on nginx for timeouts on the TCP level
httpServer.setTimeout(0);
// upgrade handler