Skip to content

fix(ci): align cluster monitor test with is_process_running - #31

Merged
qiacheng7 merged 87 commits into
nacos-group:mainfrom
qiacheng7:main
Apr 3, 2026
Merged

fix(ci): align cluster monitor test with is_process_running#31
qiacheng7 merged 87 commits into
nacos-group:mainfrom
qiacheng7:main

Conversation

@qiacheng7

Copy link
Copy Markdown
Collaborator

Summary

CI failed on ubuntu-latest and macos-latest because tests/test_cluster.sh required ps -p or pgrep to appear inside lib/cluster.sh. Cluster mode now checks PIDs via is_process_running from process_manager.sh (where ps -p lives), so the old grep was outdated.

Changes

  • Update the “cluster monitors processes” assertion to grep for is_process_running in cluster.sh instead of ps -p / pgrep.

Verification

  • bash test.sh — all tests pass locally.

@lingma-agents

lingma-agents Bot commented Apr 3, 2026

Copy link
Copy Markdown

🔍 代码审查进行中

⏳ 正在审查

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

🔄 分支流向: mainmain

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


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

📝 变更文件:

  • tests/test_cluster.sh

@qiacheng7
qiacheng7 merged commit affdd3f into nacos-group:main Apr 3, 2026
5 of 6 checks passed
@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