HeartSaVioR commented on issue #25673: [SPARK-28770][CORE][TEST] Fix 
ReplayListenerSuite tests that sometime…
URL: https://github.com/apache/spark/pull/25673#issuecomment-528024841
 
 
   The test is going to be unnecessary complicated, as I commented earlier. We 
are required to know about detailed behavior of EventLoggingListener, though we 
are in ReplayListenerSuite. ReplayListener is even not used with 
EventLoggingListener so it's really only for testing which doesn't make sense 
to couple with. Even we fix it for this time, the test might be broken again if 
we tune EventLoggingListener once more.
   
   For sure, it's not your fault. You did a great analysis. The code looks to 
be ancient, so it's not their fault too. We just seem to miss the relevant 
codes while EventLoggingListener is evolving. But at least now we indicate the 
unnecessary complexity, it's your bet to just add band-aid or fix it on the 
right way. I prefer latter, and I'm OK if committers are OK with former and 
merge the patch as it is. Maybe I'll raise another PR to fix it then.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to