Skip to content

Commit

Permalink
skip for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
skonto committed Jan 16, 2024
1 parent 7d436e4 commit 558ae15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/activator/handler/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"net/http"
"net/http/httptest"
"net/url"
"runtime"
"sync"
"testing"

Expand Down Expand Up @@ -125,6 +126,10 @@ func BenchmarkHandlerChain(b *testing.B) {
// The test uses the reproducer in https://github.com/golang/go/issues/40747#issuecomment-733552061.
// We enable full duplex by setting the annotation `features.knative.dev/http-full-duplex` at the revision level.
func TestActivatorChainHandlerWithFullDuplex(t *testing.T) {
if runtime.GOOS == "darwin" {
t.Skip("Testing this on Mac requires to loosen some restrictions, see https://github.com/knative/serving/pull/14568#issuecomment-1893151202 for more")
}

ctx, cancel, _ := rtesting.SetupFakeContextWithCancel(t)
rev := revision(testNamespace, testRevName)
defer reset()
Expand Down

0 comments on commit 558ae15

Please sign in to comment.