Repository navigation
test(metrics): 修在途 Gauge 断言的竞态(CI 偶发假红) - #83
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test_web_app_metrics_func在 h2 作业里偶发失败:客户端收到响应 ≠ 服务端的
on_sent已经在本轮跑过;测试直接渲染就断言 0,慢机器上会读到 1。改成最多 2 秒的轮询(10ms 一次)等它归零,语义不变(仍然要求归零,只是不再假设同一时刻)。本地重复跑通过。