@@ -173,9 +173,7 @@ func TestAgent_Stats_Magic(t *testing.T) {
173173ctx ,cancel := context .WithTimeout (context .Background (),testutil .WaitLong )
174174defer cancel ()
175175//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 )
179177sshClient ,err := conn .SSHClient (ctx )
180178require .NoError (t ,err )
181179defer sshClient .Close ()
@@ -243,9 +241,7 @@ func TestAgent_Stats_Magic(t *testing.T) {
243241remotePort := sc .Text ()
244242
245243//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 )
249245sshClient ,err := conn .SSHClient (ctx )
250246require .NoError (t ,err )
251247
@@ -960,9 +956,7 @@ func TestAgent_SFTP(t *testing.T) {
960956home = "/" + strings .ReplaceAll (home ,"\\ " ,"/" )
961957}
962958//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 )
966960sshClient ,err := conn .SSHClient (ctx )
967961require .NoError (t ,err )
968962defer sshClient .Close ()
@@ -998,9 +992,7 @@ func TestAgent_SCP(t *testing.T) {
998992defer cancel ()
999993
1000994//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 )
1004996sshClient ,err := conn .SSHClient (ctx )
1005997require .NoError (t ,err )
1006998defer sshClient .Close ()
@@ -1043,7 +1035,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
10431035//nolint:dogsled
10441036conn ,agentClient ,_ ,_ ,_ := setupAgent (t , agentsdk.Manifest {},0 ,func (_ * agenttest.Client ,o * agent.Options ) {
10451037o .BlockFileTransfer = true
1046- o .ExperimentalConnectionReports = true
10471038})
10481039sshClient ,err := conn .SSHClient (ctx )
10491040require .NoError (t ,err )
@@ -1064,7 +1055,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
10641055//nolint:dogsled
10651056conn ,agentClient ,_ ,_ ,_ := setupAgent (t , agentsdk.Manifest {},0 ,func (_ * agenttest.Client ,o * agent.Options ) {
10661057o .BlockFileTransfer = true
1067- o .ExperimentalConnectionReports = true
10681058})
10691059sshClient ,err := conn .SSHClient (ctx )
10701060require .NoError (t ,err )
@@ -1093,7 +1083,6 @@ func TestAgent_FileTransferBlocked(t *testing.T) {
10931083//nolint:dogsled
10941084conn ,agentClient ,_ ,_ ,_ := setupAgent (t , agentsdk.Manifest {},0 ,func (_ * agenttest.Client ,o * agent.Options ) {
10951085o .BlockFileTransfer = true
1096- o .ExperimentalConnectionReports = true
10971086})
10981087sshClient ,err := conn .SSHClient (ctx )
10991088require .NoError (t ,err )
@@ -1724,9 +1713,7 @@ func TestAgent_ReconnectingPTY(t *testing.T) {
17241713defer cancel ()
17251714
17261715//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 )
17301717id := uuid .New ()
17311718
17321719// Test that the connection is reported. This must be tested in the