diff options
Diffstat (limited to 'server/tests/real-world')
-rw-r--r-- | server/tests/real-world/real-world.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/real-world/real-world.js b/server/tests/real-world/real-world.js index 3ac13f053..ea189c5f2 100644 --- a/server/tests/real-world/real-world.js +++ b/server/tests/real-world/real-world.js | |||
@@ -13,7 +13,7 @@ const loginUtils = require('../utils/login') | |||
13 | const podsUtils = require('../utils/pods') | 13 | const podsUtils = require('../utils/pods') |
14 | const serversUtils = require('../utils/servers') | 14 | const serversUtils = require('../utils/servers') |
15 | const videosUtils = require('../utils/videos') | 15 | const videosUtils = require('../utils/videos') |
16 | const requestStatsUtils = require('../utils/requests-stats') | 16 | const requestSchedulersUtils = require('../utils/request-schedulers') |
17 | 17 | ||
18 | program | 18 | program |
19 | .option('-c, --create [weight]', 'Weight for creating videos') | 19 | .option('-c, --create [weight]', 'Weight for creating videos') |
@@ -344,7 +344,7 @@ function isThereAwaitingRequests (servers, callback) { | |||
344 | 344 | ||
345 | // Check is each server has awaiting requestq | 345 | // Check is each server has awaiting requestq |
346 | each(servers, function (server, callbackEach) { | 346 | each(servers, function (server, callbackEach) { |
347 | requestStatsUtils.getRequestsStats(server, server.accessToken, function (err, res) { | 347 | requestSchedulersUtils.getRequestsStats(server, server.accessToken, function (err, res) { |
348 | if (err) throw err | 348 | if (err) throw err |
349 | 349 | ||
350 | const stats = res.body | 350 | const stats = res.body |