Skip to content

Commit

Permalink
debug flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-guggisberg committed Apr 14, 2023
1 parent 0c6046b commit 3c267c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prepare": "husky install"
},
"mocha": {
"timeout": "10000",
"timeout": "5000",
"recursive": "true",
"reporter": "mocha-multi-reporters",
"reporter-options": "configFile=.mocha-multi.json"
Expand Down
2 changes: 1 addition & 1 deletion test/core/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ describe('Core Tests', () => {
});

it('supports parallel requests', async () => {
const N = 100; // # of parallel requests
const N = 50; // # of parallel requests

// start h2 server
const server = new Server(2, true);
Expand Down
2 changes: 1 addition & 1 deletion test/fetch/index.http2.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('HTTP/2-specific Fetch Tests', () => {
});

it.only('concurrent HTTP/2 requests to same origin', async () => {
const N = 50; // # of parallel requests
const N = 10; // # of parallel requests
const TEST_URL = `${server.origin}/bytes`;
// const TEST_URL = `${server.origin}/hello`;
// generete array of 'randomized' urls
Expand Down

0 comments on commit 3c267c2

Please sign in to comment.