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

Remove test assertion that reads a package-level variable #8329

Merged
merged 4 commits into from Jan 25, 2021

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented Jan 25, 2021

What type of PR is this?

Test fix

What does this PR do? Why is it needed?

TestImport_DuplicateKeys currently asserts the value of a package-level variable, which causes the test output to be non-deterministic. This PR removes the assert from the test. We create a new wallet and keymanager, therefore verifying whether there are no accounts is not necessary.

Which issues(s) does this PR fix?

Fixes all PRs ;-)

Other notes for review

N/A

@rkapka rkapka requested a review from a team as a code owner January 25, 2021 15:20
@rkapka rkapka changed the title remove checking value of shared variable Remove test assertion that reads a package-level variable Jan 25, 2021
Copy link
Contributor

@rauljordan rauljordan left a comment

Choose a reason for hiding this comment

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

great find here

@rauljordan rauljordan added OK to merge Ready For Review A pull request ready for code review labels Jan 25, 2021
@prylabs-bulldozer prylabs-bulldozer bot merged commit d21365b into develop Jan 25, 2021
@delete-merged-branch delete-merged-branch bot deleted the fix-flaky-import-test branch January 25, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants