brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] brooklyn-server issue #791: Sync file system on temp file before moving it.
Date Mon, 14 Aug 2017 09:00:53 GMT
Github user aledsage commented on the issue:
    @geomacy not convinced it's worth the effort of trying to mock the `FileDescriptor` to
simulate a `SyncFailedException`. If we were doing more than retry + propagate, then maybe
it would. But the current logic is pretty simple.
    One can mock final classes with Mockito v2 (we're on v2.7.12 currently):,
but you need to add a config file to change the `MockMaker`.
    I think this is good as-is.
    Have you tried running the integration tests, as well as the unit tests?

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 or file a JIRA ticket
with INFRA.

View raw message