Skip to content

Commit

Permalink
Skip WebSocket
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Jun 7, 2023
1 parent a07dc96 commit c9ef563
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions p2p/test/transport/deadline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ import (
func TestNewStreamDeadlines(t *testing.T) {
for _, tc := range transportsToTest {
t.Run(tc.Name, func(t *testing.T) {
if strings.Contains(tc.Name, "WebSocket") {
t.Skip("WebSocket is flaky for this kind of test")
}
if strings.Contains(tc.Name, "mplex") {
t.Skip("In a localhost test, writes may succeed instantly so a select { <-ctx.Done; <-write } may write.")
}
Expand Down

0 comments on commit c9ef563

Please sign in to comment.