Skip to content

The NodeKeyTest might fail in some cases #3011

Closed
@gezero

Description

The org.hyperledger.besu.crypto.NodeKeyTest failed for me when running the ./gradlew test task .

The NodeKeyTest assumes that the SignatureAlgorithmFactory returns the correct default algorithm. This assumption is correct when the test runs in isolation. When other tests set the instance to a different algorithm but forget to clean up then NodeKeyTest fails for me.

Versions

  • os: [Ubuntu 20.04 using WSL on Windows 10]
  • commit: [a2f517ce32cf8763c858c3e4f051e45c2c56c200]
  • Java version: [openjdk version "11.0.11" 2021-04-20]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions