@@ -173,9 +173,7 @@ func TestAgent_Stats_Magic(t *testing.T) {
173
173
ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
174
174
defer cancel ()
175
175
//nolint:dogsled
176
- conn , agentClient , stats , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
177
- o .ExperimentalConnectionReports = true
178
- })
176
+ conn , agentClient , stats , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
179
177
sshClient , err := conn .SSHClient (ctx )
180
178
require .NoError (t , err )
181
179
defer sshClient .Close ()
@@ -243,9 +241,7 @@ func TestAgent_Stats_Magic(t *testing.T) {
243
241
remotePort := sc .Text ()
244
242
245
243
//nolint:dogsled
246
- conn , agentClient , stats , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
247
- o .ExperimentalConnectionReports = true
248
- })
244
+ conn , agentClient , stats , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
249
245
sshClient , err := conn .SSHClient (ctx )
250
246
require .NoError (t , err )
251
247
@@ -960,9 +956,7 @@ func TestAgent_SFTP(t *testing.T) {
960
956
home = "/" + strings .ReplaceAll (home , "\\ " , "/" )
961
957
}
962
958
//nolint:dogsled
963
- conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
964
- o .ExperimentalConnectionReports = true
965
- })
959
+ conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
966
960
sshClient , err := conn .SSHClient (ctx )
967
961
require .NoError (t , err )
968
962
defer sshClient .Close ()
@@ -998,9 +992,7 @@ func TestAgent_SCP(t *testing.T) {
998
992
defer cancel ()
999
993
1000
994
//nolint:dogsled
1001
- conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
1002
- o .ExperimentalConnectionReports = true
1003
- })
995
+ conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
1004
996
sshClient , err := conn .SSHClient (ctx )
1005
997
require .NoError (t , err )
1006
998
defer sshClient .Close ()
@@ -1043,7 +1035,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
1043
1035
//nolint:dogsled
1044
1036
conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
1045
1037
o .BlockFileTransfer = true
1046
- o .ExperimentalConnectionReports = true
1047
1038
})
1048
1039
sshClient , err := conn .SSHClient (ctx )
1049
1040
require .NoError (t , err )
@@ -1064,7 +1055,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
1064
1055
//nolint:dogsled
1065
1056
conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
1066
1057
o .BlockFileTransfer = true
1067
- o .ExperimentalConnectionReports = true
1068
1058
})
1069
1059
sshClient , err := conn .SSHClient (ctx )
1070
1060
require .NoError (t , err )
@@ -1093,7 +1083,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
1093
1083
//nolint:dogsled
1094
1084
conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
1095
1085
o .BlockFileTransfer = true
1096
- o .ExperimentalConnectionReports = true
1097
1086
})
1098
1087
sshClient , err := conn .SSHClient (ctx )
1099
1088
require .NoError (t , err )
@@ -1724,9 +1713,7 @@ func TestAgent_ReconnectingPTY(t *testing.T) {
1724
1713
defer cancel ()
1725
1714
1726
1715
//nolint:dogsled
1727
- conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
1728
- o .ExperimentalConnectionReports = true
1729
- })
1716
+ conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 )
1730
1717
id := uuid .New ()
1731
1718
1732
1719
// Test that the connection is reported. This must be tested in the
0 commit comments