@@ -313,7 +313,7 @@ class HTTPConnectionPool_HTTP2StateMachineTests: XCTestCase {
313
313
var http2State = HTTPConnectionPool . HTTP2StateMachine ( idGenerator: idGenerator)
314
314
315
315
let http2ConnectAction = http2State. migrateFromHTTP1 ( http1State: http1State, newHTTP2Connection: conn2, maxConcurrentStreams: 100 )
316
- XCTAssertEqual ( http2ConnectAction. connection, . migration( createConnections: [ ] , closeConnections: [ ] , scheduleTimeout: nil , isShutdown : . no ) )
316
+ XCTAssertEqual ( http2ConnectAction. connection, . migration( createConnections: [ ] , closeConnections: [ ] , scheduleTimeout: nil ) )
317
317
guard case . executeRequestsAndCancelTimeouts( [ request2] , conn2) = http2ConnectAction. request else {
318
318
return XCTFail ( " Unexpected request action \( http2ConnectAction. request) " )
319
319
}
@@ -353,8 +353,7 @@ class HTTPConnectionPool_HTTP2StateMachineTests: XCTestCase {
353
353
XCTAssertEqual ( connectAction. connection, . migration(
354
354
createConnections: [ ] ,
355
355
closeConnections: [ ] ,
356
- scheduleTimeout: ( conn1ID, el1) ,
357
- isShutdown: . no
356
+ scheduleTimeout: ( conn1ID, el1)
358
357
) )
359
358
360
359
// execute request on idle connection
@@ -398,8 +397,7 @@ class HTTPConnectionPool_HTTP2StateMachineTests: XCTestCase {
398
397
XCTAssertEqual ( connectAction. connection, . migration(
399
398
createConnections: [ ] ,
400
399
closeConnections: [ ] ,
401
- scheduleTimeout: ( conn1ID, el1) ,
402
- isShutdown: . no
400
+ scheduleTimeout: ( conn1ID, el1)
403
401
) )
404
402
405
403
// let the connection timeout
@@ -426,8 +424,7 @@ class HTTPConnectionPool_HTTP2StateMachineTests: XCTestCase {
426
424
XCTAssertEqual ( connectAction. connection, . migration(
427
425
createConnections: [ ] ,
428
426
closeConnections: [ ] ,
429
- scheduleTimeout: ( conn1ID, el1) ,
430
- isShutdown: . no
427
+ scheduleTimeout: ( conn1ID, el1)
431
428
) )
432
429
433
430
// create new http2 connection
@@ -469,8 +466,7 @@ class HTTPConnectionPool_HTTP2StateMachineTests: XCTestCase {
469
466
XCTAssertEqual ( connectAction. connection, . migration(
470
467
createConnections: [ ] ,
471
468
closeConnections: [ ] ,
472
- scheduleTimeout: ( conn1ID, el1) ,
473
- isShutdown: . no
469
+ scheduleTimeout: ( conn1ID, el1)
474
470
) )
475
471
476
472
let goAwayAction = state. http2ConnectionGoAwayReceived ( conn1ID)
@@ -499,8 +495,7 @@ class HTTPConnectionPool_HTTP2StateMachineTests: XCTestCase {
499
495
XCTAssertEqual ( connectAction. connection, . migration(
500
496
createConnections: [ ] ,
501
497
closeConnections: [ ] ,
502
- scheduleTimeout: ( conn1ID, el1) ,
503
- isShutdown: . no
498
+ scheduleTimeout: ( conn1ID, el1)
504
499
) )
505
500
506
501
// execute request on idle connection
@@ -541,8 +536,7 @@ class HTTPConnectionPool_HTTP2StateMachineTests: XCTestCase {
541
536
XCTAssertEqual ( connectAction1. connection, . migration(
542
537
createConnections: [ ] ,
543
538
closeConnections: [ ] ,
544
- scheduleTimeout: ( conn1ID, el1) ,
545
- isShutdown: . no
539
+ scheduleTimeout: ( conn1ID, el1)
546
540
) )
547
541
548
542
// execute request
0 commit comments