cxzl25 opened a new pull request, #5921:
URL: https://github.com/apache/kyuubi/pull/5921

   # :mag: Description
   ## Issue References ๐Ÿ”—
   
   This pull request fixes #
   
   ## Describe Your Solution ๐Ÿ”ง
   
   1. Let `org.apache.kyuubi.engine.EngineRef#deregister` have a return value 
so that you can determine whether `deregister` is successful.
   
   2. Fix a flaky test, add `eventually`, because there is a delay in delete, 
causing UT to fail.
   ```
   - deregister engine with existing host port *** FAILED ***
     Some(("localhost", 42445)) was not empty (EngineRefTests.scala:362)
   ```
   https://github.com/apache/kyuubi/actions/runs/7320908364/job/19940635471
   
   
   
   ## Types of changes :bookmark:
   - [x] Bugfix (non-breaking change which fixes an issue)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   
   ## Test Plan ๐Ÿงช
   
   #### Behavior Without This Pull Request :coffin:
   flaky test
   
   https://github.com/apache/kyuubi/actions/runs/7320908364/job/19940635471
   
   #### Behavior With This Pull Request :tada:
   GA
   
   #### Related Unit Tests
   EngineRefTests.scala
   
   "deregister engine with existing host port"
   
   
   ---
   
   # Checklists
   ## ๐Ÿ“ Author Self Checklist
   <!--- Go over all the following points, and put an `x` in all the boxes that 
apply. -->
   <!--- If you're unsure about any of these, don't hesitate to ask. We're here 
to help! -->
   - [ ] My code follows the [style 
guidelines](https://kyuubi.readthedocs.io/en/master/contributing/code/style.html)
 of this project
   - [ ] I have performed a self-review
   - [ ] I have commented my code, particularly in hard-to-understand areas
   - [ ] I have made corresponding changes to the documentation
   - [ ] My changes generate no new warnings
   - [ ] I have added tests that prove my fix is effective or that my feature 
works
   - [ ] New and existing unit tests pass locally with my changes
   - [ ] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
   
   ## ๐Ÿ“ Committer Pre-Merge Checklist
   
   - [ ] Pull request title is okay.
   - [ ] No license issues.
   - [ ] Milestone correctly set?
   - [ ] Test coverage is ok
   - [ ] Assignees are selected.
   - [ ] Minimum number of approvals
   - [ ] No changes are requested
   
   
   **Be nice. Be informative.**
   


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

Reply via email to