Github user fhieber commented on the pull request:
https://github.com/apache/incubator-joshua/commit/d4fdbfd88bab99e244d3ed1fc9cff4ba5e6d124c#commitcomment-18738740
If resetting global state in the constructor works for now, thats fine with
me. That should in principle be equivalent with calling Decoder.cleanUp() in
setup/teardown methods for the tests. I never know whether unit tests are
executed in parallel or not. If thats the case, we might have a general problem
with these 'Decoder-level' tests anyway. Maybe someone else has more insight
here?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---