Skip to content

Commit 8fcef54

Browse files
committed
test: Reduce stress test concurrency & steps
1 parent 72300d3 commit 8fcef54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ssr.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ test('unique responses with fetch', async t => {
9090
// == Stress Test ==
9191
// The idea of this test is to ensure there is no memory or data leak during SSR requests
9292
// Or pending promises/sockets and function calls.
93-
// Making 16K requests by default
93+
// Making 1K requests by default
9494
// Related issue: https://github.com/nuxt/nuxt.js/issues/1354
95-
const stressTest = async (t, _url, concurrency = 64, steps = 256) => {
95+
const stressTest = async (t, _url, concurrency = 10, steps = 100) => {
9696
let statusCodes = {}
9797

9898
// appveyor memory limit!

0 commit comments

Comments
 (0)