ChengJie1053 commented on PR #27055:
URL: https://github.com/apache/flink/pull/27055#issuecomment-3805020978

   > the build is failed as
   > 
   > > Jan 26 14:58:47 14:58:47.136 [ERROR] Errors:
   > > Jan 26 14:58:47 14:58:47.136 [ERROR]   
RemoveUnreachableCoalesceArgumentsRuleTest.testFunctionCoalesce:89 » 
IllegalArgument TestCase 'testFunctionCoalesce' is out of order in the 
reference file: 
/__w/3/s/flink-table/flink-table-planner/target/test-classes/org/apache/flink/table/planner/plan/rules/logical/RemoveUnreachableCoalesceArgumentsRuleTest.xml
   > > Jan 26 14:58:47 To fix, copy the generated log file: 
/__w/3/s/flink-table/flink-table-planner/target/test-classes/org/apache/flink/table/planner/plan/rules/logical/RemoveUnreachableCoalesceArgumentsRuleTest_actual.xml
   > > Jan 26 14:58:47
   > 
   > basically it means that probably you updated 
`RemoveUnreachableCoalesceArgumentsRuleTest.xml` manually.
   > 
   > the process should be different here are the steps
   > 
   > 1. drop 
`flink-table/flink-table-planner/target/test-classes/org/apache/flink/table/planner/plan/rules/logical/RemoveUnreachableCoalesceArgumentsRuleTest.xml`
   > 2. rerun all tests from `RemoveUnreachableCoalesceArgumentsRuleTest` it 
will regenerate the whole file in a right way
   > 3. rerun it again to be sure that now it is green
   > 4. commit the changes
   
   Thanks a lot for the clear explanation and the detailed steps! I’ll follow 
your suggestion: remove the generated XML under target, rerun all tests from 
RemoveUnreachableCoalesceArgumentsRuleTest twice to regenerate and verify the 
reference file, and then commit and push the updated XML.


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