Bug 1157983

Summary: maven-shared-utils: Test failures
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: maven-shared-utilsAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: mizdebsk, msrb, tradej
Target Milestone: ---Keywords: StudentProject
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.0.0-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-22 09:58:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mikolaj Izdebski 2014-10-28 07:54:20 UTC
Description of problem:
Update of maven-shared-utils to version 0.7 introduced 2 test failures, which shourd be investigated.

Version-Release number of selected component (if applicable):
0.7-1

Failed tests: 
  FileUtilsTest.isASymbolicLink:1375 null
  DirectoryScannerTest.followSymlinksFalse:132 expected:<9> but was:<11>

Tests run: 843, Failures: 2, Errors: 0, Skipped: 24

isASymbolicLink(org.apache.maven.shared.utils.io.FileUtilsTest)  Time elapsed: 0.011 sec  <<< FAILURE!
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at org.apache.maven.shared.utils.io.FileUtilsTest.isASymbolicLink(FileUtilsTest.java:1375)

followSymlinksFalse(org.apache.maven.shared.utils.io.DirectoryScannerTest)  Time elapsed: 0.002 sec  <<< FAILURE!
java.lang.AssertionError: expected:<9> but was:<11>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.apache.maven.shared.utils.io.DirectoryScannerTest.followSymlinksFalse(DirectoryScannerTest.java:132)

Comment 1 Jaroslav Reznik 2015-03-03 16:26:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Mikolaj Izdebski 2015-10-22 09:58:15 UTC
Fixed in maven-shared-utils-3.0.0-2

Comment 3 Mikolaj Izdebski 2015-10-22 09:58:36 UTC
I believe that this bug is fixed in maven-shared-utils-3.0.0-2,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=692373

This bug was fixed in the next release of Fedora, and it is currently
not planned to be fixed in the release it was filed against.
You can update to the newer release of Fedora to get the fix.