otterc commented on code in PR #35881:
URL: https://github.com/apache/spark/pull/35881#discussion_r847589359
##########
core/src/test/scala/org/apache/spark/util/JsonProtocolSuite.scala:
##########
@@ -96,6 +96,9 @@ class JsonProtocolSuite extends SparkFunSuite {
val applicationEnd = SparkListenerApplicationEnd(42L)
val executorAdded = SparkListenerExecutorAdded(executorAddedTime, "exec1",
new ExecutorInfo("Hostee.awesome.com", 11, logUrlMap, attributes,
resources.toMap, 4))
+ val executorAddedWithTime = SparkListenerExecutorAdded(executorAddedTime,
"exec1",
+ new ExecutorInfo("Hostee.awesome.com", 11, logUrlMap, attributes,
resources.toMap, 4,
+ Some(0), Some(1)))
Review Comment:
Nit: have registration time > request time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]