@@ -101,9 +101,7 @@ describe('HTTP/2-specific Fetch Tests', () => {
101
101
assert . strictEqual ( + response . headers . get ( 'content-length' ) , buf . length ) ;
102
102
} ) ;
103
103
104
- it ( 'HTTP/2 server push can be disabled' , async function test ( ) {
105
- this . timeout ( 5000 ) ;
106
-
104
+ it ( 'HTTP/2 server push can be disabled' , async ( ) => {
107
105
const ctx = context ( { h2 : { enablePush : false } } ) ;
108
106
109
107
const handler = sinon . fake ( ) ;
@@ -124,9 +122,7 @@ describe('HTTP/2-specific Fetch Tests', () => {
124
122
}
125
123
} ) ;
126
124
127
- it ( 'concurrent HTTP/2 requests to same origin' , async function test ( ) {
128
- this . timeout ( 5000 ) ;
129
-
125
+ it ( 'concurrent HTTP/2 requests to same origin' , async ( ) => {
130
126
const N = 500 ; // # of parallel requests
131
127
const TEST_URL = 'https://httpbin.org/bytes/' ; // HTTP2
132
128
// generete array of 'randomized' urls
@@ -160,9 +156,7 @@ describe('HTTP/2-specific Fetch Tests', () => {
160
156
assert . notStrictEqual ( results [ 1 ] , results [ 2 ] ) ;
161
157
} ) ;
162
158
163
- it ( 'concurrent HTTP/2 requests to same origin using different contexts' , async function test ( ) {
164
- this . timeout ( 5000 ) ;
165
-
159
+ it ( 'concurrent HTTP/2 requests to same origin using different contexts' , async ( ) => {
166
160
const doFetch = async ( ctx , url ) => ctx . fetch ( url ) ;
167
161
168
162
const N = 50 ; // # of parallel requests
0 commit comments