Skip to content

Commit 412e100

Browse files
committed
DO_NOT_SUBMIT: Add more detail for junit merge error
1 parent a06d250 commit 412e100

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: test/k8s-integration/filter-junit.go

+4
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ func MergeJUnit(testFilter string, sourceDirectories []string, destination strin
7474

7575
var mergeErrors []string
7676
var filesToDelete []string
77+
klog.Warning("Calling MERGE JUNit")
7778
for _, dir := range sourceDirectories {
79+
klog.Warningf("Looking through source directory: %v", dir)
7880
files, err := os.ReadDir(dir)
7981
if err != nil {
8082
klog.Errorf("Failed to read juint directory %s: %v", dir, err)
@@ -91,6 +93,8 @@ func MergeJUnit(testFilter string, sourceDirectories []string, destination strin
9193
if err != nil {
9294
return err
9395
}
96+
klog.Warningf("Attempting to unmarshal file: %v", fullFilename)
97+
klog.Warningf("Attempting to unmarshal file: %v. Contents: %s", fullFilename, data)
9498
if err = xml.Unmarshal(data, &junit); err != nil {
9599
return err
96100
}

0 commit comments

Comments
 (0)