Skip to content

Commit

Permalink
test: remove unnecessary 1000 loop causing flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
devjiwonchoi committed Nov 27, 2024
1 parent ad8a47a commit 4835eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/custom-server/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe.each([
})

it('should set the assetPrefix to a given request', async () => {
for (let lc = 0; lc < 1000; lc++) {
for (let lc = 0; lc < 10; lc++) {
const [normalUsage, dynamicUsage] = await Promise.all([
await renderViaHTTP(nextUrl, '/asset', undefined, { agent }),
await renderViaHTTP(nextUrl, '/asset?setAssetPrefix=1', undefined, {
Expand Down

0 comments on commit 4835eb9

Please sign in to comment.