Gabriel39 opened a new pull request, #65742:
URL: https://github.com/apache/doris/pull/65742

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #65714
   
   Problem Summary: The regression framework truncated the remaining time 
before an hour or day boundary to whole seconds. Sleeping for that truncated 
value could resume in the final fractional second before the boundary, allowing 
a boundary-sensitive case to cross it and fail intermittently. This change 
computes the wait in milliseconds and sleeps one additional millisecond so 
execution resumes strictly after the boundary. It also adds focused coverage 
for fractional, exact, and safe boundary windows and aligns the JUnit API with 
the engine already provided by Groovy.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [x] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason
   
     mvn -o -f regression-test/framework/pom.xml test
   
   - Behavior changed:
       - [ ] No.
       - [x] Yes. Boundary-sensitive regression cases now resume strictly after 
an unsafe hour or day boundary.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


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