Skip to content

Commit 1fb8983

Browse files
committed
[e2e] kubevirt: generate test name that is compatible with file path.
When collecting the logs after a failed test run, test name is used as a part of the file path, and double quotes are not allowed: ``` The following characters are not allowed in files that are uploaded due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems. ``` Signed-off-by: Nadia Pinaeva <[email protected]>
1 parent 7a21aa6 commit 1fb8983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/kubevirt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ ip route add %[3]s via %[4]s
19471947
if td.ingress != "" {
19481948
ingress = td.ingress
19491949
}
1950-
return fmt.Sprintf("after %s of %s with %s/%s with %q ingress", td.test.description, td.resource.description, role, td.topology, ingress)
1950+
return fmt.Sprintf("after %s of %s with %s/%s with %s ingress", td.test.description, td.resource.description, role, td.topology, ingress)
19511951
},
19521952
Entry(nil, testData{
19531953
resource: virtualMachine,

0 commit comments

Comments
 (0)