Skip to content

Conversation

@elharo
Copy link
Contributor

@elharo elharo commented Feb 23, 2020

@michael-o also fixes a couple of FindBugs warnings

@elharo elharo requested a review from michael-o February 23, 2020 23:00
@elharo
Copy link
Contributor Author

elharo commented Feb 23, 2020

See https://builds.apache.org/job/maven-box/job/maven-shared-utils/job/i848/3/

Changes:

  • restore asserts

5 tests failed.
FAILED: org.apache.maven.shared.utils.io.DirectoryScannerTest.windows-jdk14 / Build windows-jdk14 / checkSymlinkBehaviour

Error Message:
null

Stack Trace:
java.lang.AssertionError
at org.apache.maven.shared.utils.io.DirectoryScannerTest.assertAlwaysIncluded(DirectoryScannerTest.java:172)
at org.apache.maven.shared.utils.io.DirectoryScannerTest.checkSymlinkBehaviour(DirectoryScannerTest.java:140)

FAILED: org.apache.maven.shared.utils.io.DirectoryScannerTest.windows-jdk11 / Build windows-jdk11 / checkSymlinkBehaviour

Error Message:
null

Stack Trace:
java.lang.AssertionError
at org.apache.maven.shared.utils.io.DirectoryScannerTest.assertAlwaysIncluded(DirectoryScannerTest.java:172)
at org.apache.maven.shared.utils.io.DirectoryScannerTest.checkSymlinkBehaviour(DirectoryScannerTest.java:140)

FAILED: org.apache.maven.shared.utils.io.DirectoryScannerTest.windows-jdk8 / Build windows-jdk8 / checkSymlinkBehaviour

Error Message:
null

Stack Trace:
java.lang.AssertionError
at org.apache.maven.shared.utils.io.DirectoryScannerTest.assertAlwaysIncluded(DirectoryScannerTest.java:172)
at org.apache.maven.shared.utils.io.DirectoryScannerTest.checkSymlinkBehaviour(DirectoryScannerTest.java:140)

FAILED: org.apache.maven.shared.utils.io.DirectoryScannerTest.windows-jdk7 / Build windows-jdk7 / checkSymlinkBehaviour

Error Message:
null

Stack Trace:
java.lang.AssertionError
at org.apache.maven.shared.utils.io.DirectoryScannerTest.assertAlwaysIncluded(DirectoryScannerTest.java:172)
at org.apache.maven.shared.utils.io.DirectoryScannerTest.checkSymlinkBehaviour(DirectoryScannerTest.java:140)

FAILED: org.apache.maven.shared.utils.io.DirectoryScannerTest.windows-jdk13 / Build windows-jdk13 / checkSymlinkBehaviour

Error Message:
null

Stack Trace:
java.lang.AssertionError
at org.apache.maven.shared.utils.io.DirectoryScannerTest.assertAlwaysIncluded(DirectoryScannerTest.java:172)
at org.apache.maven.shared.utils.io.DirectoryScannerTest.checkSymlinkBehaviour(DirectoryScannerTest.java:140)

File rootDir = tempFolder.getRoot();
File folder1 = new File( rootDir, "folder1" );
folder1.mkdirs();
if (!folder1.mkdirs())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spaces please

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


File folder2 = new File( folder1, "ignorefolder" );
folder2.mkdirs();
if (!folder2.mkdirs())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash and merge.

@elharo elharo merged commit 5769481 into master Feb 24, 2020
@elharo elharo deleted the i848 branch February 24, 2020 15:38
@jira-importer
Copy link

Resolve #263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants