@@ -169,9 +169,7 @@ func TestAgent_Stats_Magic(t *testing.T) {
169169 ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
170170 defer cancel ()
171171 //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 )
175173 sshClient , err := conn .SSHClient (ctx )
176174 require .NoError (t , err )
177175 defer sshClient .Close ()
@@ -239,9 +237,7 @@ func TestAgent_Stats_Magic(t *testing.T) {
239237 remotePort := sc .Text ()
240238
241239 //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 )
245241 sshClient , err := conn .SSHClient (ctx )
246242 require .NoError (t , err )
247243
@@ -956,9 +952,7 @@ func TestAgent_SFTP(t *testing.T) {
956952 home = "/" + strings .ReplaceAll (home , "\\ " , "/" )
957953 }
958954 //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 )
962956 sshClient , err := conn .SSHClient (ctx )
963957 require .NoError (t , err )
964958 defer sshClient .Close ()
@@ -994,9 +988,7 @@ func TestAgent_SCP(t *testing.T) {
994988 defer cancel ()
995989
996990 //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 )
1000992 sshClient , err := conn .SSHClient (ctx )
1001993 require .NoError (t , err )
1002994 defer sshClient .Close ()
@@ -1039,7 +1031,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
10391031 //nolint:dogsled
10401032 conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
10411033 o .BlockFileTransfer = true
1042- o .ExperimentalConnectionReports = true
10431034 })
10441035 sshClient , err := conn .SSHClient (ctx )
10451036 require .NoError (t , err )
@@ -1060,7 +1051,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
10601051 //nolint:dogsled
10611052 conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
10621053 o .BlockFileTransfer = true
1063- o .ExperimentalConnectionReports = true
10641054 })
10651055 sshClient , err := conn .SSHClient (ctx )
10661056 require .NoError (t , err )
@@ -1089,7 +1079,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
10891079 //nolint:dogsled
10901080 conn , agentClient , _ , _ , _ := setupAgent (t , agentsdk.Manifest {}, 0 , func (_ * agenttest.Client , o * agent.Options ) {
10911081 o .BlockFileTransfer = true
1092- o .ExperimentalConnectionReports = true
10931082 })
10941083 sshClient , err := conn .SSHClient (ctx )
10951084 require .NoError (t , err )
@@ -1720,9 +1709,7 @@ func TestAgent_ReconnectingPTY(t *testing.T) {
17201709 defer cancel ()
17211710
17221711 //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 )
17261713 id := uuid .New ()
17271714
17281715 // Test that the connection is reported. This must be tested in the
0 commit comments