Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Rework RoundChangeManagerTest to not reuse validators #469

Merged
merged 3 commits into from
Dec 20, 2018

Conversation

rain-on
Copy link
Contributor

@rain-on rain-on commented Dec 19, 2018

The RoundChangeManager tests were failing intermittently potentially because the same message validators were being reused on multiple roundchange messages (as messagevalidators were stubbed with a fixed map of items).

The map has been replaced by a mock which deliberately creates new object on each invocation.

Copy link
Contributor

@Errorific Errorific left a comment

Choose a reason for hiding this comment

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

Assuming tests pass, looks good

@rain-on rain-on merged commit 8644706 into PegaSysEng:master Dec 20, 2018
@rain-on rain-on deleted the repair_rmc_tests branch January 16, 2019 21:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants