Skip to content

Commit 732abbc

Browse files
committed
clarify that last owner label wins
1 parent 8f3bd70 commit 732abbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reporters/junit_report.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ type JUnitTestCase struct {
116116
Status string `xml:"status,attr"`
117117
// Time is the time in seconds to execute the spec - maps onto SpecReport.RunTime
118118
Time float64 `xml:"time,attr"`
119-
// Owner is the owner the spec - is set if a label matching Label("owner:X") is provided
119+
// 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.
120120
Owner string `xml:"owner,attr,omitempty"`
121121
//Skipped is populated with a message if the test was skipped or pending
122122
Skipped *JUnitSkipped `xml:"skipped,omitempty"`

0 commit comments

Comments
 (0)