lasdf1234 commented on PR #14817:
URL: https://github.com/apache/gravitino/pull/14817#issuecomment-6817415645

   @GladusLenijaAJ 
   Thanks for the PR. Jerry’s review comments still need to be addressed:
   1. Please update TestJobRuntimeTemplateMaskUtils — it still assertNulls 
maskSensitiveJobConf(null), which will fail now that we return an empty map. 
Assert an empty map instead.
   2. Returning an empty map for a null jobConf is the intended behavior: event 
constructors use ImmutableMap.copyOf(...), so events should always carry a 
non-null map, consistent with the REST layer (null → emptyMap()). Listeners 
should not see null.
   
   Also please add a regression test on the JobEventDispatcher.runJob(..., 
null) path (e.g. in TestJobEventDispatcher) asserting that the pre/post events 
carry an empty jobConf and that event construction does not throw.


-- 
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]

Reply via email to