@@ -169,9 +169,7 @@ func TestAgent_Stats_Magic(t *testing.T) {
169
169
ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
170
170
defer cancel ()
171
171
//nolint:dogsled
172
- conn , agentClient , stats , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
173
- o .ExperimentalConnectionReports = true
174
- })
172
+ conn , agentClient , stats , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
175
173
sshClient , err := conn .SSHClient (ctx )
176
174
require .NoError (t , err )
177
175
defer sshClient .Close ()
@@ -239,9 +237,7 @@ func TestAgent_Stats_Magic(t *testing.T) {
239
237
remotePort := sc .Text ()
240
238
241
239
//nolint:dogsled
242
- conn , agentClient , stats , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
243
- o .ExperimentalConnectionReports = true
244
- })
240
+ conn , agentClient , stats , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
245
241
sshClient , err := conn .SSHClient (ctx )
246
242
require .NoError (t , err )
247
243
@@ -956,9 +952,7 @@ func TestAgent_SFTP(t *testing.T) {
956
952
home = "/" + strings .ReplaceAll (home , "\\ " , "/" )
957
953
}
958
954
//nolint:dogsled
959
- conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
960
- o .ExperimentalConnectionReports = true
961
- })
955
+ conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
962
956
sshClient , err := conn .SSHClient (ctx )
963
957
require .NoError (t , err )
964
958
defer sshClient .Close ()
@@ -994,9 +988,7 @@ func TestAgent_SCP(t *testing.T) {
994
988
defer cancel ()
995
989
996
990
//nolint:dogsled
997
- conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
998
- o .ExperimentalConnectionReports = true
999
- })
991
+ conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
1000
992
sshClient , err := conn .SSHClient (ctx )
1001
993
require .NoError (t , err )
1002
994
defer sshClient .Close ()
@@ -1039,7 +1031,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
1039
1031
//nolint:dogsled
1040
1032
conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
1041
1033
o .BlockFileTransfer = true
1042
- o .ExperimentalConnectionReports = true
1043
1034
})
1044
1035
sshClient , err := conn .SSHClient (ctx )
1045
1036
require .NoError (t , err )
@@ -1060,7 +1051,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
1060
1051
//nolint:dogsled
1061
1052
conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
1062
1053
o .BlockFileTransfer = true
1063
- o .ExperimentalConnectionReports = true
1064
1054
})
1065
1055
sshClient , err := conn .SSHClient (ctx )
1066
1056
require .NoError (t , err )
@@ -1089,7 +1079,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
1089
1079
//nolint:dogsled
1090
1080
conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
1091
1081
o .BlockFileTransfer = true
1092
- o .ExperimentalConnectionReports = true
1093
1082
})
1094
1083
sshClient , err := conn .SSHClient (ctx )
1095
1084
require .NoError (t , err )
@@ -1720,9 +1709,7 @@ func TestAgent_ReconnectingPTY(t *testing.T) {
1720
1709
defer cancel ()
1721
1710
1722
1711
//nolint:dogsled
1723
- conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
1724
- o .ExperimentalConnectionReports = true
1725
- })
1712
+ conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
1726
1713
id := uuid .New ()
1727
1714
1728
1715
// Test that the connection is reported. This must be tested in the
0 commit comments