Skip to content

TestWebSocket* and TestGRPC* does not pass with parallel #11387

@nak3

Description

@nak3

In what area(s)?

/area networking
/area test-and-release

As commented https://github.com/knative/serving/pull/11322/files#r636574573, e2e test with --https option does not work with t.Parallel() for TestWebSocket*.

Example log
https://prow.knative.dev/view/gs/knative-prow/pr-logs/pull/knative_serving/11322/pull-knative-serving-https/1395322718584311808
https://prow.knative.dev/view/gs/knative-prow/pr-logs/pull/knative_serving/11322/pull-knative-serving-https/1395530844940013568

It often fails as it cannot establish the connection as:

websocket.go:83: Connection failed: dial tcp 35.231.11.204:443: connect: connection refused
websocket_test.go:143: timed out waiting for the condition

FWIW, the error does not happen on local env (tested on AWS) by running go test -v -race -tags=e2e -count=1 ./test/e2e/ -run "TestGRPC|TestWebSocket" command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/networkingarea/test-and-releaseIt flags unit/e2e/conformance/perf test issues for product featureskind/bugCategorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.triage/acceptedIssues which should be fixed (post-triage)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions