Skip to content

Conversation

@jasonbu
Copy link
Contributor

@jasonbu jasonbu commented Nov 30, 2025

Summary

use utc diff should prefer and more strict.

Impact

Before fix, the case using assert_int_equal(min1, min2); These should not strict enough, for example if the case start runs with 09:59:59 etc, and with corner case or even if the host performance is not strong enough, will case easily break.
After fix, we just make sure the case is within positive or negative within 30s. should be equal for most time with old case. And still able to catch if the fs time usage break.

Testing

CI-test, sim hostfs test.

use utc diff should prefer and more strict.

Signed-off-by: buxiasen <buxiasen@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit d23eb01 into apache:master Dec 1, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants