From 21ded3e064ba8d1d3726357e65f676c320d35bfb Mon Sep 17 00:00:00 2001 From: David Gardiner Date: Wed, 12 Oct 2022 12:40:38 -0700 Subject: [PATCH] Skip flakey test in Actions --- internal/codespaces/grpc/client_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/codespaces/grpc/client_test.go b/internal/codespaces/grpc/client_test.go index d905c0e29..c70e59ea6 100644 --- a/internal/codespaces/grpc/client_test.go +++ b/internal/codespaces/grpc/client_test.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "log" + "os" "testing" grpctest "github.com/cli/cli/v2/internal/codespaces/grpc/test" @@ -11,6 +12,9 @@ import ( func startServer(t *testing.T) { t.Helper() + if os.Getenv("GITHUB_ACTIONS") == "true" { + t.Skip("fails intermittently in CI: https://github.com/cli/cli/issues/5663") + } ctx, cancel := context.WithCancel(context.Background())