GitHub user CMoH opened a pull request:

    https://github.com/apache/archiva/pull/21

    Fix non-deterministic test failures

    Fix some build failures that appear on most builds with java8, and only 
spuriously on java7:
    ````
    Running org.apache.archiva.rest.services.BrowseServiceTest
    Tests run: 21, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 50.76 sec 
<<< FAILURE! - in org.apache.archiva.rest.services.BrowseServiceTest
    metadatainbatchmode(org.apache.archiva.rest.services.BrowseServiceTest)  
Time elapsed: 2.955 sec  <<< FAILURE!
    java.lang.AssertionError: 
    
    Expecting:
     <{"jenkins_version"="1.486", "author"="alecharp"}>
    to contain:
     <[MapEntry[key='buildNumber', value='1']]>
    but could not find:
     <[MapEntry[key='buildNumber', value='1']]>
    
            at 
org.apache.archiva.rest.services.BrowseServiceTest.metadatainbatchmode(BrowseServiceTest.java:431)
    ````


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/CMoH/archiva fix-test-java8

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/archiva/pull/21.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #21
    
----
commit a746721940a99b76e91bd10a2e2fa78549c9ee54
Author: Ciprian Ciubotariu <[email protected]>
Date:   2016-05-31T17:05:29Z

    Fix non-deterministic test failures
    
    archiva-rest-services tests need to wait for repo scanning to finish

----


---
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.
---

Reply via email to