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

bzzeth: correct the order of cleanup steps in newTestNetworkStore #1815

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

janos
Copy link
Member

@janos janos commented Sep 25, 2019

This PR addresses the issue with running bzzeth tests on windows:

--- FAIL: TestNewBlockHeaders (0.02s)
bzzeth_test.go:89: Could not remove localstore dir
FAIL
coverage: 41.3% of statements
FAIL github.com/ethersphere/swarm/bzzeth 2.366s

https://ci.appveyor.com/project/ethersphere/swarm/builds/27657610/job/h5gimfoikowh6v86#L597

The order of cleanup steps in newTestNetworkStore is incorrect. First the files need to be closed, then removed from the system.

@janos janos requested review from jmozah and acud September 25, 2019 13:37
@janos janos self-assigned this Sep 25, 2019
@janos janos added this to Backlog in Swarm Core - Sprint planning via automation Sep 25, 2019
@skylenet skylenet self-requested a review September 25, 2019 14:07
@skylenet skylenet added this to the 0.5.0 milestone Sep 25, 2019
@skylenet skylenet merged commit 1b5c77c into master Sep 25, 2019
Swarm Core - Sprint planning automation moved this from Backlog to Done Sep 25, 2019
@janos janos deleted the fix-bzzeth-test-cleanup branch September 25, 2019 14:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants