Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CircleCI failures #376

Merged
merged 1 commit into from
Nov 13, 2019
Merged

Fix CircleCI failures #376

merged 1 commit into from
Nov 13, 2019

Conversation

steven-sheehy
Copy link
Member

Detailed description:
CircleCI has been failing every other build and causing PRs to not pass. The issue was due to NetworkAddressBook having references to an older MirrorProperties and the tests in RecordFileLoggerFileTest that were specifically checking for the address book were failing. Fixed by making methods in NetworkAddressBook non-static. Also made RecordFileLogger a bean and rely upon spring initialization to assign the static addressbook in its class.

Also update the README to add Code of Conduct and a blurb about contributing.

Which issue(s) this PR fixes:
Fixes #375

Special notes for your reviewer:
Don't use static variables for mutable data. Ever.

Checklist

  • Documentation added
  • Tests updated

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
@steven-sheehy steven-sheehy added bug Type: Something isn't working P1 test Test infrastructure, automated tests required, etc labels Nov 13, 2019
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@steven-sheehy steven-sheehy merged commit ba9c912 into master Nov 13, 2019
@steven-sheehy steven-sheehy deleted the recordfileloggerfiletest-fix branch November 13, 2019 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working P1 test Test infrastructure, automated tests required, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False NoSuchFileException on build from RecordFileLoggerFileTest
2 participants