Skip to content

fix(test): update cluster process monitor test pattern - #32

Closed
cxhello wants to merge 1 commit into
nacos-group:mainfrom
cxhello:fix/cluster-test-pattern
Closed

fix(test): update cluster process monitor test pattern#32
cxhello wants to merge 1 commit into
nacos-group:mainfrom
cxhello:fix/cluster-test-pattern

Conversation

@cxhello

@cxhello cxhello commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Fix test_cluster.sh test 10 ("Cluster mode should monitor processes") which was always failing
  • The test grepped for ps -p or pgrep, but cluster.sh actually uses ps aux to monitor node processes
  • Update pattern from ps -p\|pgrep to ps \|pgrep to match actual implementation

Test plan

The test checked for "ps -p" or "pgrep" but cluster.sh uses
"ps aux" to monitor node processes. Update grep pattern to match
actual implementation.

Signed-off-by: cxhello <caixiaohuichn@gmail.com>
@lingma-agents

lingma-agents Bot commented Apr 3, 2026

Copy link
Copy Markdown

🔍 代码审查进行中

⏳ 正在审查

⏰️ 剩余时间:约需数分钟

🔄 分支流向: fix/cluster-test-patternmain

📦 提交: 审查当前PR从28d609bd3ae169的提交。


📒 文件清单 (1 个文件)
📝 变更: 1 个文件

📝 变更文件:

  • tests/test_cluster.sh

@cxhello cxhello closed this Apr 3, 2026
@lingma-agents

lingma-agents Bot commented Apr 3, 2026

Copy link
Copy Markdown

CodeReview流程已终止

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.

1 participant