Skip flakey test in Actions

This commit is contained in:
David Gardiner 2022-10-12 12:40:38 -07:00
parent 4bd57ee0b2
commit 21ded3e064

View file

@ -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())