jerryshao commented on code in PR #13982:
URL: https://github.com/apache/gravitino/pull/13982#discussion_r4322506045
##########
maintenance/optimizer/src/test/java/org/apache/gravitino/maintenance/optimizer/TestOptimizerCmd.java:
##########
@@ -497,7 +497,8 @@ void testSubmitUpdateStatsJobDryRunUsesConfigDefaults()
throws Exception {
Assertions.assertTrue(output[0].contains("jobTemplate=builtin-iceberg-update-stats"));
Assertions.assertTrue(output[0].contains("update_mode=stats"));
Assertions.assertTrue(output[0].contains("table_identifier=ab.t1"));
- Assertions.assertTrue(output[0].contains("spark_master=local[*]"));
+ // Without a configured master, the job executor decides it.
+ Assertions.assertTrue(output[0].contains("spark_master=, "));
Review Comment:
Both assertions now match an empty spark_master with a regex (spark_master=
followed by optional spaces and , or }), not the exact ", " delimiter.
_🤖 Addressed by [Claude Code](https://claude.com/claude-code)_
--
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]