Skip to content

perf(tests): shorten list blocking timeout cases#3539

Merged
jihuayu merged 4 commits into
apache:unstablefrom
Tangruilin:perf#3529
Jul 20, 2026
Merged

perf(tests): shorten list blocking timeout cases#3539
jihuayu merged 4 commits into
apache:unstablefrom
Tangruilin:perf#3529

Conversation

@Tangruilin

@Tangruilin Tangruilin commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

fix #3529

Assisted-by: Codex/GPT-5

@Tangruilin Tangruilin closed this Jun 25, 2026
@Tangruilin Tangruilin reopened this Jun 25, 2026
@Tangruilin

Tangruilin commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

before:
image

after:
image

from 57s to 44s

@Tangruilin

Copy link
Copy Markdown
Contributor Author

before:
Uploading image.png…
after:
Uploading image.png…

from 57s to 44s

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces the runtime of the Go list unit test suite by shortening blocking-command timeout cases, addressing the “list test cost 49s” motivation from issue #3529.

Changes:

  • Introduces a shared short blocking timeout constant for list blocking-timeout cases.
  • Updates BLPOP/BRPOP and BLMPOP timeout-only test cases to use the shorter timeout value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/gocase/unit/type/list/list_test.go Outdated

@jihuayu jihuayu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@jihuayu
jihuayu requested review from PragmaTwice and git-hulk July 3, 2026 08:42
@Tangruilin

Copy link
Copy Markdown
Contributor Author

@jihuayu coverage failed, but i only modify go code

@jihuayu
jihuayu enabled auto-merge (squash) July 14, 2026 07:43
@jihuayu

jihuayu commented Jul 20, 2026

Copy link
Copy Markdown
Member

@jihuayu coverage failed, but i only modify go code

Don't worry! It doesn't block.

@jihuayu
jihuayu merged commit dd75ac8 into apache:unstable Jul 20, 2026
71 of 73 checks passed
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
42.8% Coverage on New Code (required ≥ 50%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(go): optimize list test execution time

4 participants