Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Fix non-deterministic test failures #21

Merged
merged 1 commit into from
Jun 2, 2016
Merged

Conversation

CMoH
Copy link
Contributor

@CMoH CMoH commented May 31, 2016

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)

archiva-rest-services tests need to wait for repo scanning to finish
@asfgit asfgit merged commit a746721 into apache:master Jun 2, 2016
@CMoH CMoH deleted the fix-test-java8 branch September 15, 2016 15:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants