Bug 1157983 - maven-shared-utils: Test failures
Summary: maven-shared-utils: Test failures
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: maven-shared-utils
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-28 07:54 UTC by Mikolaj Izdebski
Modified: 2015-10-23 05:06 UTC (History)
3 users (show)

Fixed In Version: 3.0.0-2
Clone Of:
Environment:
Last Closed: 2015-10-22 09:58:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.