Project

General

Profile

Actions

Bug #10147

closed

Test broken with "FileNotFoundException /ldap/bootstrap.ldif"

Added by François ARMAND about 7 years ago. Updated about 7 years ago.

Status:
Released
Priority:
1
Category:
Architecture - Dependencies
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Since modification for #10145, we have a test error:

FileNotFoundException(message='file:/home/jenkins/.m2/repository/com/normation/inventory/inventory-repository/4.1.0~beta3-SNAPSHOT/inventory-repository-4.1.0~beta3-SNAPSHOT.jar!/ldap/bootstrap.ldif (No such file or directory)'

But of course, the file is present... And in all case, it is not the one that should be looked for! The correct one is under "rudder/rudder-core/src/test/resources/ldap".
So somehow, the resources exclusion of logback.xml threw havoc on classpath loading... Maven a pile of trash.

Actions

Also available in: Atom PDF