Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

network/stream: TestGetSubscriptionsRPC is flaky with -race (ratio: 22:1000) #1234

@frncmx

Description

@frncmx

Problem

--- FAIL: TestGetSubscriptionsRPC (0.37s)
    streamer_test.go:1332: Real subscriptions and expected amount don't match; real: 1, expected: 8

Flaky ratio

     20 FAIL
    980 PASS

Note: because of #1233 I did not get a 1000 runs as originally intended.

How to reproduce

time go test -v -race -run TestGetSubscriptionsRPC -count 1000 github.com/ethereum/go-ethereum/swarm/network/stream

Note: The test seems to be stable without -race.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions