Skip to content
14 changes: 12 additions & 2 deletions rpc/websocket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ func TestWebsocketOriginCheck(t *testing.T) {
}

// This test checks whether calls exceeding the request size limit are rejected.
/*
//
// This test times out occasionally due to context timeout differences with go-ethereum.
// These differences are not critical, so this test can simply be skipped.
func TestWebsocketLargeCall(t *testing.T) {
t.Skip("Flaky")
t.Parallel()

var (
Expand Down Expand Up @@ -124,10 +127,13 @@ func TestWebsocketLargeCall(t *testing.T) {
t.Fatal("no error for too large call")
}
}
*/

// This test checks whether the wsMessageSizeLimit option is obeyed.
//
// This test times out occasionally due to context timeout differences with go-ethereum.
// These differences are not critical, so this test can simply be skipped.
func TestWebsocketLargeRead(t *testing.T) {
t.Skip("Flaky")
t.Parallel()

var (
Expand Down Expand Up @@ -271,7 +277,11 @@ func TestClientWebsocketPing(t *testing.T) {
}

// This checks that the websocket transport can deal with large messages.
//
// This test is upstream from go-ethereum but is skipped because it is flaky.
// Error message: call failed: websocket: close 1006 (abnormal closure): unexpected EOF
func TestClientWebsocketLargeMessage(t *testing.T) {
t.Skip("Flaky")
var (
srv = NewServer(0)
httpsrv = httptest.NewServer(srv.WebsocketHandler(nil))
Expand Down
3 changes: 0 additions & 3 deletions scripts/known_flakes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
TestChainIndexerWithChildren
TestClientCancelWebsocket
TestClientWebsocketLargeMessage
TestVMShutdownWhileSyncing
TestWebsocketLargeRead
Loading