Project

General

Profile

Bug #10147

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

Added by François ARMAND 8 months ago. Updated 7 months ago.

Status:
Released
Priority:
1
Category:
Architecture - Dependencies
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:

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.

Associated revisions

Revision 67e88648
Added by François ARMAND 8 months ago

Fixes #10147: Test broken with \"FileNotFoundException /ldap/bootstrap.ldif\"

History

#1 Updated by François ARMAND 8 months 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

#2 Updated by François ARMAND 8 months ago

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

#3 Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF