diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/real-world/real-world.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/real-world/real-world.js b/server/tests/real-world/real-world.js index 751d3923f..9a63860ad 100644 --- a/server/tests/real-world/real-world.js +++ b/server/tests/real-world/real-world.js | |||
@@ -36,7 +36,7 @@ const numberOfPods = 6 | |||
36 | // Wait requests between pods | 36 | // Wait requests between pods |
37 | const baseRequestInterval = integrityInterval < constants.REQUESTS_INTERVAL ? integrityInterval : constants.REQUESTS_INTERVAL | 37 | const baseRequestInterval = integrityInterval < constants.REQUESTS_INTERVAL ? integrityInterval : constants.REQUESTS_INTERVAL |
38 | const requestsMaxPerInterval = baseRequestInterval / actionInterval | 38 | const requestsMaxPerInterval = baseRequestInterval / actionInterval |
39 | const intervalsToMakeAllRequests = Math.ceil(requestsMaxPerInterval / constants.REQUESTS_LIMIT) | 39 | const intervalsToMakeAllRequests = Math.ceil(requestsMaxPerInterval / (constants.REQUESTS_LIMIT_PER_POD * numberOfPods)) |
40 | const waitForBeforeIntegrityCheck = (intervalsToMakeAllRequests * constants.REQUESTS_INTERVAL) + 1000 | 40 | const waitForBeforeIntegrityCheck = (intervalsToMakeAllRequests * constants.REQUESTS_INTERVAL) + 1000 |
41 | 41 | ||
42 | console.log('Create weight: %d, remove weight: %d.', createWeight, removeWeight) | 42 | console.log('Create weight: %d, remove weight: %d.', createWeight, removeWeight) |