From c37e19537d1d363606b8bbf9373250991750e15d Mon Sep 17 00:00:00 2001 From: Alex Hyett Date: Wed, 27 Sep 2023 14:36:30 +0100 Subject: [PATCH] Update tests --- tests/spike-test.js | 10 +++------- tests/stress-test.js | 4 ++-- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/tests/spike-test.js b/tests/spike-test.js index 5aedb5b..dca75d7 100644 --- a/tests/spike-test.js +++ b/tests/spike-test.js @@ -7,13 +7,9 @@ if (hostname == null) hostname = 'localhost:5157'; export const options = { stages: [ - { duration: '10s', target: 200 }, // ramp up - { duration: '1m', target: 200 }, // stable - { duration: '10s', target: 2000 }, // ramp up - { duration: '5m', target: 2000 }, // stable - { duration: '10s', target: 200 }, // ramp up - { duration: '1m', target: 200 }, // stable - { duration: '10s', target: 0 }, // ramp-down to 0 users + { duration: '30s', target: 2000 }, // ramp up + { duration: '2m', target: 2000 }, // stable + { duration: '30s', target: 0 }, // ramp-down to 0 users ], }; diff --git a/tests/stress-test.js b/tests/stress-test.js index d39e8a4..f3318e5 100644 --- a/tests/stress-test.js +++ b/tests/stress-test.js @@ -9,10 +9,10 @@ export const options = { stages: [ { duration: '1m', target: 200 }, // ramp up { duration: '5m', target: 200 }, // stable - { duration: '1m', target: 400 }, // ramp up - { duration: '5m', target: 400 }, // stable { duration: '1m', target: 800 }, // ramp up { duration: '5m', target: 800 }, // stable + { duration: '1m', target: 1000 }, // ramp up + { duration: '5m', target: 1000 }, // stable { duration: '5m', target: 0 }, // ramp-down to 0 users ], };