Merge pull request #6432 from dmgardiner25/skip-test-in-actions

Skip flakey test in Actions
This commit is contained in:
David Gardiner 2022-10-12 14:19:41 -07:00 committed by GitHub
commit db67668025
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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