Skip to content

Commit a70ac8d

Browse files
committed
Update filter-junit.go to suport testsuites format as of K8s 1.25+
1 parent 8538d48 commit a70ac8d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ import (
3232
* represent all fields that we want to be passed through. It's therefore
3333
* not a complete solution, but good enough for Ginkgo + Spyglass.
3434
*/
35+
36+
type TestSuites struct {
37+
XMLName string `xml:"testsuites"`
38+
TestSuite []TestSuite `xml:"testsuite"`
39+
}
3540
type TestSuite struct {
36-
XMLName string `xml:"testsuite"`
3741
TestCases []TestCase `xml:"testcase"`
3842
}
3943

0 commit comments

Comments
 (0)