mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Merge pull request #121852 from pohly/e2e-framework-test-labels-in-junit
e2e: avoid redundant labels in JUnit file
This commit is contained in:
commit
6c27f48387
@ -36,6 +36,10 @@ func WriteJUnitReport(report ginkgo.Report, filename string) error {
|
||||
// both, then tools like kettle and spyglass would concatenate
|
||||
// the two strings and thus show duplicated information.
|
||||
OmitFailureMessageAttr: true,
|
||||
|
||||
// All labels are also part of the spec texts in inline [] tags,
|
||||
// so we don't need to write them separately.
|
||||
OmitSpecLabels: true,
|
||||
}
|
||||
|
||||
return reporters.GenerateJUnitReportWithConfig(report, filename, config)
|
||||
|
Loading…
Reference in New Issue
Block a user