Skip to content

Commit

Permalink
Disable TestRootX11ForwardPermissions. (#50231)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger authored Dec 13, 2024
1 parent 71ae931 commit 9c58718
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/srv/regular/sshserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 9c58718

Please sign in to comment.