mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 08:31:30 +00:00
Use the direct test descriptor parent for test start events in Gradle
The reportingParent previously used for that purpose was null in test start events, resulting in ungrouped tests.
This commit is contained in:
@@ -332,7 +332,7 @@ internal open class TCServiceMessagesClient(
|
||||
checkState(NodeState.created)
|
||||
reportingParent?.checkState(NodeState.started)
|
||||
|
||||
results.started(descriptor!!, TestStartEvent(ts, reportingParent?.descriptor?.id))
|
||||
results.started(descriptor!!, TestStartEvent(ts, descriptor!!.parent?.id))
|
||||
|
||||
state = NodeState.started
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user