You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2017/03/01 13:32:45 UTC

[jira] [Commented] (OAK-5750) Test failure: PojoSR run.osgi.SecurityProviderRegistrationTest

    [ https://issues.apache.org/jira/browse/OAK-5750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15890161#comment-15890161 ] 

angela commented on OAK-5750:
-----------------------------

[~mduerig], just had a look at the test code. it looks relevant to me that we already have the following wait installed before the assertion at SecurityProviderRegistrationTest.groovy:296:

{code}
294: setRequiredServicePids()
295: TimeUnit.MILLISECONDS.sleep(500)
296: assert securityProviderServiceReferences != null
{code}

do you happen to know if there was a better way of asserting that the configuration changes have been processed than just waiting?

> Test failure: PojoSR run.osgi.SecurityProviderRegistrationTest
> --------------------------------------------------------------
>
>                 Key: OAK-5750
>                 URL: https://issues.apache.org/jira/browse/OAK-5750
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: continuous integration, pojosr
>    Affects Versions: 1.6.0
>            Reporter: Hudson
>            Assignee: angela
>              Labels: test-failure, ubuntu
>             Fix For: 1.8
>
>         Attachments: pojosr-unit-tests.log.bz2
>
>
> Jenkins CI failure: https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
> The build Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 1.7 (latest),nsfixtures=SEGMENT_TAR,profile=unittesting #1441 has failed.
> First failed run: [Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 1.7 (latest),nsfixtures=SEGMENT_TAR,profile=unittesting #1441|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=SEGMENT_TAR,profile=unittesting/1441/] [console log|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.7%20(latest),nsfixtures=SEGMENT_TAR,profile=unittesting/1441/console]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)