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

Make and Keep Swarm's Code Race Free #1102

Closed
16 tasks done
frncmx opened this issue Jan 11, 2019 · 1 comment · Fixed by ethereum/go-ethereum#19148
Closed
16 tasks done

Make and Keep Swarm's Code Race Free #1102

frncmx opened this issue Jan 11, 2019 · 1 comment · Fixed by ethereum/go-ethereum#19148
Assignees
Milestone

Comments

@frncmx
Copy link
Contributor

frncmx commented Jan 11, 2019

Recently we found a data race in our code base and almost introduced a new one. We need an automated way to keep our code race free, but first we need to make it clean again.

Tasks

Data Races

@frncmx
Copy link
Contributor Author

frncmx commented Jan 11, 2019

The following import paths contain data race:

FAIL	github.com/ethereum/go-ethereum/swarm	68.952s
FAIL	github.com/ethereum/go-ethereum/swarm/network	14.767s
FAIL	github.com/ethereum/go-ethereum/swarm/network/simulation	10.920s
FAIL	github.com/ethereum/go-ethereum/swarm/network/stream	600.060s
FAIL	github.com/ethereum/go-ethereum/swarm/pss	34.629s
FAIL	github.com/ethereum/go-ethereum/swarm/storage	217.360s

Note: The tests for storage may get stuck and time out.

How to reproduce?
go test -count 1 -race github.com/ethereum/go-ethereum/swarm...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants