From 732abbc3e709c4913e7f0644c1aee1faf076f0ea Mon Sep 17 00:00:00 2001 From: Onsi Fakhouri Date: Wed, 17 Jan 2024 13:19:36 -0700 Subject: [PATCH] clarify that last owner label wins --- reporters/junit_report.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporters/junit_report.go b/reporters/junit_report.go index 314aeaba0..43244a9bd 100644 --- a/reporters/junit_report.go +++ b/reporters/junit_report.go @@ -116,7 +116,7 @@ type JUnitTestCase struct { Status string `xml:"status,attr"` // Time is the time in seconds to execute the spec - maps onto SpecReport.RunTime Time float64 `xml:"time,attr"` - // Owner is the owner the spec - is set if a label matching Label("owner:X") is provided + // Owner is the owner the spec - is set if a label matching Label("owner:X") is provided. The last matching label is used as the owner, thereby allowing specs to override owners specified in container nodes. Owner string `xml:"owner,attr,omitempty"` //Skipped is populated with a message if the test was skipped or pending Skipped *JUnitSkipped `xml:"skipped,omitempty"`