From 3dad70255bc3c33e1357f652012a6e956eb6f49d Mon Sep 17 00:00:00 2001 From: Zac Bergquist Date: Fri, 24 May 2024 09:42:11 -0600 Subject: [PATCH] Disable disk-based recording for TestSSH (#42013) 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 8a727d20139de..199164bd3b011 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) }), )