brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] brooklyn-server issue #454: LocalEntityManager: make fields private
Date Tue, 22 Nov 2016 22:59:30 GMT
Github user aledsage commented on the issue:
    @neykov the failing test (`LoopOverGroupMembersTestCaseTest.testMultipleChildrenWhichPass`)
is I maybe happening after merging
    It fails because `LoopOverGroupMembersTestCase.start` calls `child.start()` and then immediately
checks the child's `SERVICE_STATE_ACTUAL`. This still says "starting" so it does its log.warn,
sets `allSuccesful = false`, and thus sets its own serviceState to `ON_FIRE`.
    I wonder if child is still reporting `starting` for a few extra milliseconds (set async)
because of not doing `onEvent(null)`. I haven't looked into it further yet though.
    I wonder if the "correct" fix is for things like `TestSensorImpl.start()` to wait for
actual serviceState to be running before the start() method returns (similar to `SoftwareProcessImpl.waitForServiceUp`,
but that just waits for serviceUp=true rather than serviceState=running).

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