diff --git a/eng/_util/buildutil/testjson.go b/eng/_util/buildutil/testjson.go index 6a60709b2fe..214e70ef055 100644 --- a/eng/_util/buildutil/testjson.go +++ b/eng/_util/buildutil/testjson.go @@ -62,7 +62,9 @@ func (f *TestJSONFlags) RunTestCmd(cmdline []string) (err error) { defer func() { err = errors.Join(err, jf.Close()) }() - c := json2junit.NewConverter(jf) + c := json2junit.NewConverterWithOptions(jf, &json2junit.Options{ + IncludePackageInTestName: true, + }) defer func() { err = errors.Join(err, c.Close()) }() diff --git a/eng/_util/go.mod b/eng/_util/go.mod index 2535377925d..ba4459701a0 100644 --- a/eng/_util/go.mod +++ b/eng/_util/go.mod @@ -8,7 +8,7 @@ go 1.25.0 require ( github.com/golang-jwt/jwt/v5 v5.3.1 - github.com/microsoft/go-infra v0.0.9 + github.com/microsoft/go-infra v0.0.10-0.20260322221929-fd732e56be96 github.com/microsoft/go-infra/goinstallscript v1.2.0 golang.org/x/net v0.52.0 ) diff --git a/eng/_util/go.sum b/eng/_util/go.sum index 03408b10ff1..9932b4a72c9 100644 --- a/eng/_util/go.sum +++ b/eng/_util/go.sum @@ -31,8 +31,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/microsoft/azure-devops-go-api/azuredevops v1.0.0-b5 h1:YH424zrwLTlyHSH/GzLMJeu5zhYVZSx5RQxGKm1h96s= github.com/microsoft/azure-devops-go-api/azuredevops v1.0.0-b5/go.mod h1:PoGiBqKSQK1vIfQ+yVaFcGjDySHvym6FM1cNYnwzbrY= -github.com/microsoft/go-infra v0.0.9 h1:emnuI8I9HGQESkwuTD2YAQFokgPKUzOjRlqpLp4+AfQ= -github.com/microsoft/go-infra v0.0.9/go.mod h1:HjCdUUo5fRDh0jFvKS2Ownh6RKKsWVJkXXuWS7FGKsY= +github.com/microsoft/go-infra v0.0.10-0.20260322221929-fd732e56be96 h1:GK33KDwSMiBpGR82fU2MIdwk+febXI+d51uLQI5nmIE= +github.com/microsoft/go-infra v0.0.10-0.20260322221929-fd732e56be96/go.mod h1:HjCdUUo5fRDh0jFvKS2Ownh6RKKsWVJkXXuWS7FGKsY= github.com/microsoft/go-infra/goinstallscript v1.2.0 h1:ArYnZHsmv0jnpeDZdFACBUxSmhmYl+Vof8sfk19aYZI= github.com/microsoft/go-infra/goinstallscript v1.2.0/go.mod h1:SFsdKAEHdmGsGoh8FkksVaxoQ3rnnJ/TBqN09Ml/0Cw= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=