From 9c587187625ce622602ada44ffc49a1f98c24d5a Mon Sep 17 00:00:00 2001 From: Brian Joerger Date: Fri, 13 Dec 2024 11:12:35 -0800 Subject: [PATCH] Disable TestRootX11ForwardPermissions. (#50231) --- lib/srv/regular/sshserver_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/srv/regular/sshserver_test.go b/lib/srv/regular/sshserver_test.go index 800ef30531b04..9cde84d661fad 100644 --- a/lib/srv/regular/sshserver_test.go +++ b/lib/srv/regular/sshserver_test.go @@ -1070,6 +1070,10 @@ func TestX11Forward(t *testing.T) { // TestRootX11ForwardPermissions tests that X11 forwarding sessions are set up // with the connecting user's file permissions (where needed), rather than root. func TestRootX11ForwardPermissions(t *testing.T) { + // TODO(Joerger): Fix CI issue related to github actions sometimes using + // UID 1001 - https://github.com/gravitational/teleport/pull/50176 + t.Skip("This test is flaky") + utils.RequireRoot(t) if os.Getenv("TELEPORT_XAUTH_TEST") == "" { t.Skip("Skipping test as xauth is not enabled")