Project

General

Profile

Actions

Bug #25193

open

OpenSCAP test fails when there is a '@' '%40' in path

Added by François ARMAND 3 days ago. Updated 2 days ago.

Status:
Pending release
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

When we have several build in parallel, jenkins happens a "@XX" in the path. Then, the way we access files encodes it into "%40XX" which is not found.

We already had the case here: #19186

The solution is to change all:

    this.getClass.getClassLoader.getResource(name).getPath

Into "toURI.getPath":

    this.getClass.getClassLoader.getResource(name).toURI.getPath

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #19186: Webapp tests fail if repository path contains an '@'ReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF