From 5713e3c02da32720959338000fe41acd639bc341 Mon Sep 17 00:00:00 2001 From: Zac Bergquist Date: Tue, 28 May 2024 12:12:28 -0600 Subject: [PATCH] Disable disk-based recording for TestSSH (#42018) Updates #41935 --- tool/tsh/common/proxy_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tool/tsh/common/proxy_test.go b/tool/tsh/common/proxy_test.go index fb7f0a1e40603..d9435fc24d414 100644 --- a/tool/tsh/common/proxy_test.go +++ b/tool/tsh/common/proxy_test.go @@ -86,6 +86,7 @@ func TestSSH(t *testing.T) { withRootConfigFunc(func(cfg *servicecfg.Config) { cfg.Version = defaults.TeleportConfigVersionV2 cfg.Auth.NetworkingConfig.SetProxyListenerMode(types.ProxyListenerMode_Multiplex) + cfg.Auth.SessionRecordingConfig.SetMode(types.RecordAtNodeSync) cfg.Proxy.KeyPairs = []servicecfg.KeyPairPath{{ PrivateKey: webKeyPath, Certificate: webCertPath, @@ -94,6 +95,7 @@ func TestSSH(t *testing.T) { withLeafCluster(), withLeafConfigFunc(func(cfg *servicecfg.Config) { cfg.Version = defaults.TeleportConfigVersionV2 + cfg.Auth.SessionRecordingConfig.SetMode(types.RecordAtNodeSync) }), )