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 #1

Updated by François ARMAND about 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1479
Actions #2

Updated by François ARMAND about 7 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #3

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.0~beta3 which was released today.

Actions

Also available in: Atom PDF