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

Unit test failing with Expected event "DelegateVotesChanged" to be emitted, but it wasn't #111

Open
michalinacienciala opened this issue Jun 27, 2022 · 0 comments

Comments

@michalinacienciala
Copy link
Contributor

Nightly unit tests of threshold-network/solidity-contracts have failed one time lately with the following error:

  1) T token
       burn
         when delegated to someone else
           should emit DelegateVotesChanged:
     AssertionError: Expected event "DelegateVotesChanged" to be emitted, but it wasn't

Failing workflow: https://github.com/threshold-network/solidity-contracts/runs/7050777498?check_suite_focus=true

That's the first time I see such failure. When re-run, the workflow has passed, executions on other days were also successful. Although it's the only time I see this this test failing, it doesn't seem to me like a test that could randomly fail due to some 3rd party component temporary unavailability. It's probably some synchronization problem in the unit test - missing await or something similar. Needs to be investigated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant