@@ -1751,6 +1751,10 @@ func TestTransportPersistConnLeakShortBody(t *testing.T) {
1751
1751
run (t , testTransportPersistConnLeakShortBody , testNotParallel )
1752
1752
}
1753
1753
func testTransportPersistConnLeakShortBody (t * testing.T , mode testMode ) {
1754
+ if mode == http2Mode {
1755
+ t .Skip ("flaky in HTTP/2" )
1756
+ }
1757
+
1754
1758
// Not parallel: measures goroutines.
1755
1759
ts := newClientServerTest (t , mode , HandlerFunc (func (w ResponseWriter , r * Request ) {
1756
1760
})).ts
@@ -4465,14 +4469,14 @@ func testTransportResponseHeaderLength(t *testing.T, mode testMode) {
4465
4469
func TestTransportEventTrace (t * testing.T ) {
4466
4470
run (t , func (t * testing.T , mode testMode ) {
4467
4471
testTransportEventTrace (t , mode , false )
4468
- })
4472
+ }, testNotParallel )
4469
4473
}
4470
4474
4471
4475
// test a non-nil httptrace.ClientTrace but with all hooks set to zero.
4472
4476
func TestTransportEventTrace_NoHooks (t * testing.T ) {
4473
4477
run (t , func (t * testing.T , mode testMode ) {
4474
4478
testTransportEventTrace (t , mode , true )
4475
- })
4479
+ }, testNotParallel )
4476
4480
}
4477
4481
4478
4482
func testTransportEventTrace (t * testing.T , mode testMode , noHooks bool ) {
@@ -5970,7 +5974,9 @@ func TestIs408(t *testing.T) {
5970
5974
}
5971
5975
}
5972
5976
5973
- func TestTransportIgnores408 (t * testing.T ) { run (t , testTransportIgnores408 , []testMode {http1Mode }) }
5977
+ func TestTransportIgnores408 (t * testing.T ) {
5978
+ run (t , testTransportIgnores408 , []testMode {http1Mode }, testNotParallel )
5979
+ }
5974
5980
func testTransportIgnores408 (t * testing.T , mode testMode ) {
5975
5981
// Not parallel. Relies on mutating the log package's global Output.
5976
5982
defer log .SetOutput (log .Writer ())
0 commit comments